Page 1 of 1

main decoder error -> mjpg

Posted: 20 May 2008 02:06
by kobe08

Code: Select all

main decoder error: no suitable decoder module for fourcc `mjpg'. VLC probably does not support this sound or video format.
I can't find out the solution to this problem. I have an application which uses jvlc. To run the application, an vlc installation is needed (0.9.0) and i have installed it (as well as ffmpeg). In the first machine everything went ok. in this second machine i think i done like in the first one but it gives me this error. both machines have Ubuntu 7.10 fresh installations...
after installing ubuntu 7.10 i installed many libraries which ffmpeg demanded, and then compiled and installed ffmpeg and then the same with vlc 0.9.0...

what am i missing? any help?
thanks in advance

--JH

Re: main decoder error -> mjpg

Posted: 20 May 2008 16:13
by Jean-Baptiste Kempf
Can you paste the output of vlc -vvv --list | grep ffmpeg ?

Re: main decoder error -> mjpg

Posted: 20 May 2008 17:50
by kobe08
Here it is:

Code: Select all

root@weirdFP01:/usr/local/vlc# vlc -vvv --list | grep ffmpeg VLC media player 0.9.0-git Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.0-git Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--enable-ffmpeg' '--with-ffmpeg-zlib' '--enable-faac' '--enable-faad2' '--enable-mostly-builtin' '--enable-dvb' '--enable-x264' '--disable-wxwidgets' '--disable-skins2' '--enable-debug' '--with-ffmpeg-faad' '--disable-glx' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /root/.cache/vlc/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `modules' [00000001] main libvlc warning: cannot load module `modules/codec/ffmpeg/.libs/libffmpeg_plugin.so' (modules/codec/ffmpeg/.libs/libffmpeg_plugin.so: undefined symbol: av_init_packet) [00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc' [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: a52_init) [00000001] main libvlc debug: recursively browsing `plugins' [00000001] main libvlc debug: module bank initialized, found 443 modules [00000001] main libvlc debug: writing plugins cache /root/.cache/vlc/plugins-04041e.dat root@weirdFP01:/usr/local/vlc#

Re: main decoder error -> mjpg

Posted: 21 May 2008 17:07
by kobe08
anyone?

Re: main decoder error -> mjpg

Posted: 21 May 2008 20:17
by Jean-Baptiste Kempf
[00000001] main libvlc debug: recursively browsing `modules'
[00000001] main libvlc warning: cannot load module `modules/codec/ffmpeg/.libs/libffmpeg_plugin.so' (modules/codec/ffmpeg/.libs/libffmpeg_plugin.so: undefined symbol: av_init_packet)
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'
[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: a52_init)
[00000001] main libvlc debug: recursively browsing `plugins'

This means that your ffmpeg plugin is miscompiled.