Many thanks Jean-Baptiste, that is fantastic news!!There are some patches in the work.
It was I who asked this question. So yes, ffmpeg as well as the fork libav support MxPEG decoding by now. But you're right, there's still a missing link in the chain in order to work with VLC. This is also my goal!Further to my post above, I just found this:
http://mailman.videolan.org/pipermail/v ... 83506.html
it looks like although ffmpeg does support MxPEG decoding, there is something missing in the works between VLC/ffmpeg to allow it to make use of the MxPEG decoding capabilities in ffmpeg.
This sounds fantastic indeed. So before I start digging deeper into the material of VLC, I'll just wait a bit. The subject seems to be quite current.There are some patches in the work.
This is not exactly true. Here are some of my results related to the topic. "A" means audio working, "V" means video working. This is also tested under Windows with the help of the appropriate cross-compiled command line versions of the tools.I think the ffmpeg demux can only handle raw mxpeg files.
It won't work in "live" (the http stream from the Mobotix camera).
Code: Select all
avplay -f mxg "http://<ip>/control/faststream.jpg?stream=mxg"
avplay -f mxg "http://<ip>/control/faststream.jpg?stream=MxPEG"
Code: Select all
avconv -f mxg -i "http://<ip>/control/faststream.jpg?stream=mxg" -f mpeg out.mpg
Code: Select all
http://<ip>/control/faststream.jpg?stream=full
Code: Select all
ffmpeg -f mjpeg -i "http://<ip>/control/faststream.jpg?stream=full" -f mpeg out.mpg
Code: Select all
ffplay -f mxg "http://<ip>/control/faststream.jpg?stream=mxg"
ffplay -f mxg "http://<ip>/control/faststream.jpg?stream=MxPEG"
Code: Select all
http_proxy= avconv -f mxg -i "http://admin:meinsm@10.9.53.86/control/faststream.jpg?stream=mxg" -f mpeg - | mplayer -
As a sidenote I think I found out what Sébastien meant concerning the "option in vlc", which was unclear to me at first. It works as supposed when I start the latest nightly build (Mac 64bit) from commandline appending the following (without quotes) "--ffmpeg-format=mxg". Here is an example:files are correctly detected but live input is not auto-detected by ffmpeg, so you must add this option in vlc :
ffmpeg-format=mxg
Code: Select all
$ VLC.app/Contents/MacOS/VLC --ffmpeg-format=mxg "http://IP:PORT/control/faststream.jpg?stream=MxPEG"
Cool. 2.0.1 is on the way.PS: I'm going to post a link to the VideoLan MxPeg WIKI in the Mobotix forums, to make everybody there aware of all the hard work that has gone on here.
Code: Select all
ps warning: garbage at input, trying to resync...
Return to “VLC media player Feature Requests”
Users browsing this forum: No registered users and 28 guests