FFMPEG - Compiling with Cygwin Window
You need the following to compile FFMPEG on window. Cygwin seems to be an easier choice than MingW
1. Install your Cygwin with all the "Base" packages, plus the following "Devel" ones: binutils, gcc4-core, make, subversion, mingw-runtime, texi2html, diffutils
3. type dos2unix configure to convert the file to dos compatible text
4. Type make distclean to clean the past distribution if any
5. Then run ./configure --enable-static --disable-shared to make a static build.
5. The current gcc4-core
package is buggy and needs this flag to build shared libraries: ./configure --enable-shared --disable-static --extra-cflags=-fno-reorder-functions
6. Then perform make and make install
7. You should have all your builds at
Alternatively, you can download nightly build from http://ffmpeg.arrozcru.org/autobuilds/
Great article. Can this procedure be used to build for Android as well? Thanks.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteVery Nice Article, exactly to the point, i was thinking it is going to be very challenging task - but it worked correctly in first go itself with these instructions, thanks!
ReplyDeleteAlso want to know if there is similar link to understand the interfaces between component involved, and learn ffmpeg in more depth.
There is quite a few on my FFMPEG label on commands
ReplyDeletehttp://thompsonng.blogspot.com/search/label/FFMPEG
This tutorial not too bad too
http://dranger.com/ffmpeg/ffmpeg.html