[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:41:22 CEST 2015


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



More information about the Libav-user mailing list