[Ffmpeg-devel] Configured and built with --enable-xvid yet: "Unknown codec 'xvid'"

Marc Remijn marc
Mon Dec 26 19:18:09 CET 2005

marc at lee:~$ ffmpeg -i 
-vcodec xvid -s 720x404 -b 1024 -acodec mp3 -ab 128 test.avi

ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --prefix=/opt/dvb --enable-mp3lame --enable-libogg 
--enable-vorbis --enable-theora --enable-xvid --enable-codec=xvid 
--enable-gpl --extra-cflags=-I /opt/dvb/include --extra-ldflags=-L 
   built on Nov 10 2005 17:25:12, gcc: 3.3.4
Input #0, mpeg, from 
   Duration: 01:05:00.0, start: 0.220000, bitrate: 4593 kb/s
   Stream #0.0[0x1e0], 25.00 fps: Video: mpeg2video, yuv420p, 720x576, 
7980 kb/s
   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Unknown codec 'xvid'

As you can see xvid support compiled in, but 'Unknown codec xvid'.
'xvid' didn't appear on the -formats output either.

I did the same on an other machine with same versions of ffmpeg, gcc, 
nasm, xvidcore, same configure options and there xvid works...

What is going on here?

This is the way I configured ffmpeg:

./configure --prefix=/opt/dvb --enable-mp3lame --enable-libogg 
--enable-vorbis --enable-theora --enable-xvid --enable-gpl 
--extra-cflags='-I /opt/dvb/include' --extra-ldflags='-L /opt/dvb/lib'

libxvidcore is in /opt/dvb/lib


More information about the ffmpeg-devel mailing list