Difference between revisions of "MxPEG"

From VideoLAN Wiki
Jump to navigation Jump to search
(Created page with "{{wikipedia|MxPEG}} '''MXPEG''' is a video codec developed by [http://www.mobotix.com Mobotix] VLC support this codec since version 2.0.1 mxg video files are auto-detected. ...")
 
m (Add codec id MXPG)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{wikipedia|MxPEG}}
+
{{Codec audio|id=MXPG}}
'''MXPEG''' is a video codec developed by [http://www.mobotix.com Mobotix]
+
{{Codec video|id=MXPG}}
VLC support this codec since version 2.0.1
 
  
mxg video files are auto-detected.
+
'''MxPEG''' is an audio and video codec developed by Mobotix.
  
live stream require the option ffmpeg-format=mxg because ffmpeg does not auto-detect mxg codec in live stream.
+
VLC supports this codec '''since version 2.0.1''' through [[FFmpeg]] on Windows, macOS and GNU/Linux.
  
== Specification ==
+
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.
For a technical description read http://developer.mobotix.com/docs/mxpeg_frame.html
+
 
 +
== Usage Examples ==
 +
 
 +
=== mxg recordings ===
 +
 
 +
Simply open the file with VLC.
 +
 
 +
=== Live Streams ===
 +
 
 +
* '''Windows:'''
 +
{{%}} <nowiki>vlc.exe --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
 +
 
 +
* '''macOS:'''
 +
{{%}} <nowiki>VLC.app/Contents/MacOS/VLC --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
 +
 
 +
* '''Linux:'''
 +
{{%}} <nowiki>vlc --avformat-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 "<nowiki>:avformat-format=mxg</nowiki>".
 +
 
 +
For VLC 2.0.x and older, replace avformat-format with ffmpeg-format.
 +
 
 +
== See also ==
 +
* Technical description - https://developer.mobotix.com/docs/mxpeg_frame.html
 +
* Feature request and discussion in the VideoLAN forums - http://forum.videolan.org/viewtopic.php?f=7&t=97738
 +
 
 +
[[Category:Container]]

Latest revision as of 08:43, 9 April 2019

MXPG
This is an audio codec. The name to use at the command line is MXPG.
MXPG
This is a video codec. The name to use at the command line is MXPG.

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