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

Gal Bar Mashiah galbarm at gmail.com
Tue May 5 10:53:04 CEST 2015

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

> Gal Bar Mashiah <galbarm at ...> writes:
> > > 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.
> >
> > It works with ffplay using the following command:
> > ffplay -f mxg -i "http:..."
> Since your input stream does not have file
> extension "mxg" and no real autodetection for
> mxg exists, you have to force the mxg demuxer
> (just as you did above with "-f mxg").
> Please fix your quoting and please do not top-post
> here, Carl Eugen
 Sorry for breaking the conventions. That's my first time using a mailing
As for what you suggested, I'm trying to figure out how to force the mxg
I did it from the command line but I'm not sure how to do it when working
with the libavcodec the way I described.
Can you guide me how please?

> 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/67e03f5f/attachment.html>

More information about the Libav-user mailing list