Difference between revisions of "MxPEG"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
* '''Linux:'''
 
* '''Linux:'''
 
:<nowiki>$ vlc --ffmpeg-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
 
:<nowiki>$ vlc --ffmpeg-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
 +
 +
* '''GUI:"""
 +
Media -> Open Network Stream -> show more options. In Edit Options, add :ffmpeg-format=mxg
  
 
== Specification ==
 
== Specification ==

Revision as of 07:45, 8 March 2012

MxPEG is an audio and video codec developed by Mobotix

VLC supports this codec since version 2.0.1 on all platforms (Windows, Mac & Linux) making use of its implementation in ffmpeg. In contrast to the official MxPEG DirectShow codec for Windows, that supports mxg video recordings, or the official MxPEG ActiveX plugin, that requires the Microsoft Internet Explorer (only available for Microsoft Windows), VLCs ffmpeg implementation is fully cross-plattform compatible.

While mxg video files are auto-detected, live streams require VLC to be run with the option ffmpeg-format=mxg because ffmpeg does not auto-detect mxg codec in live streams.

Usage Examples

mxg recordings

Simply open the file with VLC.

Live-Streams

  • Microsoft Windows:
vlc.exe --ffmpeg-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • Mac OS:
$ VLC.app/Contents/MacOS/VLC --ffmpeg-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • Linux:
$ vlc --ffmpeg-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • GUI:"""

Media -> Open Network Stream -> show more options. In Edit Options, add :ffmpeg-format=mxg

Specification

For a technical description read http://developer.mobotix.com/docs/mxpeg_frame.html

Other Resources

Feature request and discussion in the VideoLAN forums: http://forum.videolan.org/viewtopic.php?f=7&t=97738