[Ffmpeg-devel] Compilation for Windows under Cygwin

Víctor Paesa wzrlpy
Fri Aug 5 17:33:36 CEST 2005


Hi,

Here is a nice tutorial on FFMpeg compilation under MingW

http://soenkerohde.com/tutorials/ffmpeg/


To compile under Cygwin, get FFMpeg from CVS, and disable everything you 
don't need or any library you don't have:

./configure --enable-pthreads --disable-faac --disable-vorbis 
--disable-libogg --disable-mp3lame --enable-a52 --enable-pp --enable-gpl 
--disable-v4l --disable-dv1394 --disable-ffserver --disable-vhook 
--disable-ffplay
make


When this works, then you may think of start adding libraries. For example, 
if you have already compiled/installed lame in /usr/local:

./configure --extra-cflags="-I/usr/local/include/" 
--extra-ldflags="-L/usr/local/lib"  --enable-pthreads --disable-faac 
--disable-vorbis --disable-libogg --enable-mp3lame --enable-a52 --enable-pp 
--enable-gpl --disable-v4l --disable-dv1394 --disable-ffserver 
--disable-vhook --disable-ffplay


Anyway, if you want to link with MS Visual Studio/C, you better go the MingW 
way.


Regards,
V?ctor Paesa






More information about the ffmpeg-devel mailing list