Code: Select all
[00000277] main decoder error: no suitable decoder module for fourcc `XVID'.
VLC probably does not support this sound or video format.
Code: Select all
configuration: --enable-libxvid
Code: Select all
[00000277] main decoder error: no suitable decoder module for fourcc `XVID'.
VLC probably does not support this sound or video format.
Code: Select all
configuration: --enable-libxvid
Thnaks for your reply. But ffmpeg is enabled by default. And Dimstar's website is for Suse 10.2 (I use 10.3 now). And I do not know if Dimstar patches VLC for the s/pfif passthrough bug, which is why I compile VLC from source in the frist place.build your vlc with ffmpeg enabled
or just use prebuilt rpms by dimstar
Code: Select all
mux.c: In function 'OpenMux__ffmpeg':
mux.c:136: error: incompatible types in assignment
mux.c: In function 'CloseMux__ffmpeg':
mux.c:160: warning: comparison between signed and unsigned
make[5]: *** [libffmpeg_builtin_la-mux.lo] Error 1
The option "--with-ffmpeg-tree" I tried before (when I compiled ffmpeg from source): the problem with that is that VLC look in /usr/lib/libavcodec, but the header files (libavcodec. a etc.) do not reside in a seperate directory: they're all placed in the same dir. Wwen I copied them to a seperate dir in which VLC's configure script looks for them, "make" did not finish. It ended w/ an eror message.
'--with-ffmpeg-tree' refers to the 'source tree', which means where you unpacked the ffmpeg source.Compiling ffmpeg from source and then compiling vlc w/ "./configure --with-ffmpeg-tree=/usr/local/lib" (i.e. your "method 1") does not work, because ffmpeg does not place the *.a files in seperate directories. And vlc's configure looks in those dir's
Code: Select all
./configure \
--with-ffmpeg-tree=/mnt/hda13/src/multimedia/ffmpeg
Code: Select all
box:/mnt/hda13/src/multimedia/ffmpeg# ls
COPYING.GPL INSTALL cmdutils.h ffmpeg.c libavdevice output_example.c
COPYING.LGPL MAINTAINERS common.mak ffplay.c libavformat tests
CREDITS Makefile configure ffserver.c libavutil tools
Changelog README doc ffserver.h libpostproc version.sh
Doxyfile cmdutils.c ffinstall.nsi libavcodec libswscale vhook
It is possible that the above code gives a warning under gcc-3.x, but gives an error under gcc-4.x because gcc-4.x is more strict. Therefore, you might be able to avoid the error by using gcc-3.3/gcc-3.4.So then I tried compiling ffmpeg from source w/ the options you described in "method 2" (i.e. ./configure --enable-shared). Then vlc's "make" ends with the error:Code: Select all
mux.c: In function 'OpenMux__ffmpeg': mux.c:136: error: incompatible types in assignment mux.c: In function 'CloseMux__ffmpeg': mux.c:160: warning: comparison between signed and unsigned make[5]: *** [libffmpeg_builtin_la-mux.lo] Error 1
Code: Select all
ffmpeg libraries:
/usr/local/lib/libav*
/usr/local/lib/libpostproc*
pkg-config files:
/usr/local/lib/pkgconfig/libav*.pc
/usr/local/lib/pkgconfig/libpostproc.pc
ffmpeg headers:
/usr/local/include/ffmpeg/
Code: Select all
VLC binaries:
/usr/local/bin/*vlc*
VLC library:
/usr/local/lib/libvlc*
VLC plugins:
/usr/local/lib/vlc/
VLC headers:
/usr/local/include/vlc/
VLC shared data files:
/usr/local/share/applications/vlc.desktop
/usr/local/share/doc/vlc/
/usr/local/share/vlc/
Boy am I stupid! Thank you for the info. Also, thank you for the gcc4 / gcc3 clarification. That info may come in very handy when compiling other applications that do not have a Suse 10.3 package (yet).The source directory has the separate directories where the various '.a' library files are made.Code: Select all
--with-ffmpeg-tree=/mnt/hda13/src/multimedia/ffmpeg
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 13 guests