Page 1 of 1

VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 12:22
by mangoo
I just compiled a svn snapshot of VLC.

Unfortunately, it doesn't seem to support mjpg streams - when I try to open a mjpg stream from a network camera, VLC says:

No suitable decoder module for format:
VLC probably does not support the "mjpg" audio or video format.
Unfortunately there is no way for you to fix this.

Is it this svn snapshot's fault, or perhaps I gave wrong compilation flags?
As far as I understand, mjpg is supported by ffmpeg - and ffmpeg and libraries are installed here.
With VLC 0.8.6c, mjpg streams are played just fine.
Any clues what might be wrong?

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 12:29
by mangoo
Hmm - the plugin is there, but libffmpeg_plugin.so cannot be loaded, because of undefined symbol. Any ideas why?

$ vlc -vvv --list|grep mjp
VLC media player 0.9.0-svn Grishenko
(...)
[00000001] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libffmpeg_plugin.so' (/usr/local/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: avcodec_decode_audio2)
(...)
mjpeg M-JPEG camera demuxer

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 12:42
by Jean-Baptiste Kempf
How did you compile ffempg?

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 12:53
by mangoo
How did you compile ffempg?
I didn't compile ffmpeg myself - I used what came with my system.
You think the problem may be there?

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 13:21
by Jean-Baptiste Kempf
I don't think, I am almost sure :D
Build your own ffmpeg ...

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 15:29
by mangoo
Indeed, that was it :) - thanks for help.

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 19 Jul 2007 15:35
by Jean-Baptiste Kempf
You are welcome :D

Re: VLC 0.9.0 (svn) - no mjpg support?

Posted: 05 Feb 2009 17:09
by passegua
I don't think, I am almost sure :D
Build your own ffmpeg ...
sorry but how could I "build my own ffmpeg?
I saved a screen shot streaming using Capture Fox, a good firefox addon, then I can play the avi file with all player but VLC :-(

thanks