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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 5 10:13:11 CEST 2015


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



More information about the Libav-user mailing list