MxPEG

From VideoLAN Wiki
Revision as of 04:27, 27 January 2019 by DoesItReallyMatter (talk | contribs) (Rewriting to be less promotional)
Jump to navigation Jump to search
??
This is an audio codec. The name to use at the command line is unknown.
??
This is a video codec. The name to use at the command line is unknown.

MxPEG is an audio and video codec developed by Mobotix.

VLC supports this codec since version 2.0.1 through FFmpeg on Windows, macOS and GNU/Linux.

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 the mxg codec in live streams.

Usage Examples

mxg recordings

Simply open the file with VLC.

Live Streams

  • Windows:
% vlc.exe --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • macOS:
% VLC.app/Contents/MacOS/VLC --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • Linux:
% vlc --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"
  • GUI:
Media → Open Network Stream → Show more options. In Edit Options, add ":avformat-format=mxg".

For VLC 2.0.x and older, replace avformat-format with ffmpeg-format.

See also