Difference between revisions of "MxPEG"

From VideoLAN Wiki
Jump to navigation Jump to search
(Rewriting to be less promotional)
Line 1: Line 1:
'''MxPEG''' is an audio and video codec developed by [http://www.mobotix.com Mobotix]
+
{{Codec audio}}
 +
{{Codec video}}
  
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 [http://www.mobotix.com/other/Support/Software-Downloads/MxPEG-DirectShow/MxPEG-DirectShow-Codec-1.0 MxPEG DirectShow codec for Windows], that supports mxg video recordings, or the official [http://www.mobotix.com/eng_US/Support/Software-Downloads/MxPEG-ActiveX/MxPEG-ActiveX-1.5.1.1 MxPEG ActiveX plugin], that requires the Microsoft Internet Explorer (only available for Microsoft Windows), VLCs ffmpeg implementation is fully cross-plattform compatible.
+
'''MxPEG''' is an audio and video codec developed by Mobotix.
  
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.
+
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 ==
 
== Usage Examples ==
Line 13: Line 16:
 
=== Live Streams ===
 
=== Live Streams ===
  
* '''Microsoft Windows:'''
+
* '''Windows:'''
:<nowiki>vlc.exe --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
+
{{%}} <nowiki>vlc.exe --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
  
* '''Mac OS:'''
+
* '''macOS:'''
:<nowiki>$ VLC.app/Contents/MacOS/VLC --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
+
{{%}} <nowiki>VLC.app/Contents/MacOS/VLC --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
  
 
* '''Linux:'''
 
* '''Linux:'''
:<nowiki>$ vlc --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
+
{{%}} <nowiki>vlc --avformat-format=mxg "http://<USER>:<PASSWORD>@<IP>:<PORT>/control/faststream.jpg?stream=MxPEG"</nowiki>
  
 
* '''GUI:'''
 
* '''GUI:'''
Line 27: Line 30:
 
For VLC 2.0.x and older, replace avformat-format with ffmpeg-format.
 
For VLC 2.0.x and older, replace avformat-format with ffmpeg-format.
  
== Specification ==
+
== See also ==
For a technical description read http://developer.mobotix.com/docs/mxpeg_frame.html
+
* 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
== Other Resources ==
 
Feature request and discussion in the VideoLAN forums: http://forum.videolan.org/viewtopic.php?f=7&t=97738
 
  
 
[[Category:Container]]
 
[[Category:Container]]

Revision as of 04:27, 27 January 2019

??
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