[Libav-user] How to set AVInputFormat when using AVCodec (For Mobotix MxPEG stream)

Gal Bar Mashiah galbarm at gmail.com
Tue May 5 10:18:35 CEST 2015

It works with ffplay using the following command:
ffplay -f mxg -i "

As you can see, the input stream is an IP camera http stream.
So it works with ffplay (also with VLC), but when I manually feed the
decoder with the frames as I need to to, only the first frame gets decoded.

On Tue, May 5, 2015 at 11:13 AM Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Gal Bar Mashiah <galbarm at ...> writes:
> > The decode succeeds only for the first frame.
> > I think I need to set the AVInputFormat to
> > "mxg" in order for this to work for the
> > Mobotix MxPEG stream, but I'm not sure how.
> What is the filename of your input stream?
> If it does not have extension "mxg",
> autodetection cannot work and you have to
> force the mxg demuxer.
> Does it work with ffmpeg (the application)?
> 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: <https://ffmpeg.org/pipermail/libav-user/attachments/20150505/acbf32c3/attachment.html>

More information about the Libav-user mailing list