title: Does mobile VLC support MxPEG?
body: <p>Official site provides VLC has supported MxPEG codec format streaming in <a href="https://wiki.videolan.org/MxPEG/" rel="nofollow">https://wiki.videolan.org/MxPEG/</a> by adding option like <code>--avformat-format=mxg</code>.</p>
  
  <p>I tried this successfully on VLC for Mac OS. But unfortunately, it seems not working in mobile vlc kit.</p>
  
  <p>Here is my code</p>
  
  <pre><code>self.player = [[VLCMediaPlayer alloc] initWithOptions:@[@"--avformat-format=mxg"]];
  self.player.media = [VLCMedia mediaWithURL:url]; // url of MxPEG streaming from mobotix camera live view
  
  ... // setting drawable and so on
  
  [self.player play];
  </code></pre>
  
  <p>Result is that I can hear the audio, but the screen is black. > &lt;</p>
  
  <p>Does anyone know where the problem is or have some trick to work around with it? Any reply would be appreciated. Thanks.</p>
  
  <hr>
  
  <p>Thanks @feepk 's replay. I inited the player instance with the options <code>@"-vvvv"</code> and <code>@"avformat-format=mxg"</code>.</p>
  
  <p>The log result was...</p>
  
  <pre><code>2015-05-04 09:17:40.367 DScam[1800:38737] creating player instance with private library as options were given
  hader program 1: WARNING: Output of vertex shader 'TexCoord1' not read by fragment shader
  WARNING: Output of vertex shader 'TexCoord2' not read by fragment shader
  </code></pre>
  
  <p>Yes, that's all and nothing left. Not like the other streaming that showing more detail, it seems succeeded playing, but just without the video part.</p>
  
  <p>However, the log produced from VLC for mac with <code>-vvvv</code> option was relatively complete. Cut some log msg here.</p>
  
  <pre><code>10:15 $ /Applications/VLC.app/Contents/MacOS/VLC -vvvv --avformat-format=mxg http://admin:meinsm@10.13.1.145:80/control/faststream.jpg?stream=MxPEG&amp;iframerefresh=1&amp;jpheaderrefresh=1&amp;fps=12
  [1] 4124
  [2] 4125
  [3] 4126
  VLC media player 2.2.0 Weatherwax (revision 2.2.0-rc2-290-g1f0f561)
  [0000000100323ee8] core libvlc debug: VLC media player - 2.2.0 Weatherwax
  [0000000100323ee8] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
  [0000000100323ee8] core libvlc debug: revision 2.2.0-rc2-290-g1f0f561
  
  ... // lots of log
  
  [000000010071aed8] core input debug: Buffering 0%
  [000000010071aed8] core input debug: Buffering 0%
  [000000010071aed8] core input debug: Buffering 8%
  [000000010071aed8] core input debug: Buffering 8%
  [000000010071aed8] core input debug: Buffering 28%
  [0000000100362dd8] core playlist debug: reusing audio output
  [000000010071aed8] core input debug: Buffering 28%
  [00000001003690c8] core audio output debug: VLC is looking for: 's16l' 8000 Hz Mono frame=1 samples/2 bytes
  [000000010071aed8] core input debug: Buffering 43%
  [00000001003690c8] auhal audio output debug: attempting to use device 0
  [000000010071aed8] core input debug: Buffering 43%
  [000000010071aed8] core input debug: Buffering 68%
  [000000010071aed8] core input debug: Buffering 68%
  [000000010071aed8] core input debug: Buffering 88%
  [000000010071aed8] core input debug: Buffering 88%
  [000000010071aed8] core input debug: Stream buffering done (1138 ms in 0 ms)
  [00000001003690c8] auhal audio output debug: using default audio device 38
  ...
  </code></pre>
  
  <hr>
  
  <p>I also tried <code>@"--ffmpeg-format=mxg"</code> for mobile VLC, the result shows the msg that the option is not existed.</p>
  
  <pre><code>2015-05-04 10:03:07.056 DScam[3751:85831] creating player instance with private library as options were given
  Warning: option --ffmpeg-format no longer exists.
  </code></pre>
  
  <p>Is this version of mobile vlc not supported with MxPEG? or is it a bug?</p>