[Libav-user] MxPEG camera (Mobotix) avformat_open_input fail

Rafa Lopez rafaware at gmail.com
Thu Oct 24 11:19:41 CEST 2013


Thanks Carl

It works:

    formatContext = avformat_alloc_context();

    //formatContext->video_codec_id = AV_CODEC_ID_MXPEG;

    formatContext->iformat = av_find_input_format ("mxg");


Best Regards



2013/10/24 Carl Eugen Hoyos <cehoyos at ag.or.at>

> Rafa Lopez <rafaware at ...> writes:
>
> > ./ffmpeg -f mxg -i
> "http://192.168.0.78/control/faststream.jpg?stream=MxPEG" -y pipas.avi
>
> >     AVFormatContext *formatContext = avformat_alloc_context();
> >     formatContext->video_codec_id = AV_CODEC_ID_MXPEG;but it doesn't work
>
> I don't know if this is the issue, but I would
> expect "-f mxg" to correspond to setting
> formatContext->iformat->name to "mxg".
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131024/827199c1/attachment.html>


More information about the Libav-user mailing list