The first thing about Open Source projects is, they dont distribute binaries. They distribute only the source code. So it makes your life harder to understand to download the source code, setup the build environment and then take a build. This process, though, is inevitable. If you really wish to skip the building process and get only a build, you can get them here. (P.S. these builds are outdated. If you plan to use it in your commercial application, you might need to search for an LGPL build. Else you will end up in FFMpeg's Hall of Shame)
Let's start with the build process. :)
Stuff to Download
- Download MinGW from here.
- Download MSYS from here.
- Download updated bash for MSYS from here.
- Get the latest snapshot of ffmpeg from here
Installing MinGW
- Click 'Next'
- Choose 'Download and Install' and click 'Next'
- Click 'I Agree'
- Choose 'Current' and then 'Next'
- Choose 'MinGW base tools' and 'MinGW Make'
- Choose Destination folder as 'C:\MinGW'
- Click 'Install'. The download will take some time and then will complete the installation.
- Click 'Next' and then 'Finish' to complete the installation.
- Click 'Yes'
- Click 'Next'
- Agree to the license agreement by clicking 'Yes'
- Click 'Next'
- Choose 'C:\msys\1.0' as destination folder and click 'Next'. Click 'Yes' to create a directory if not already there
- 'Installation for i386 based CPUs' should be selected, Click 'Next'
- Click 'Next' and then 'Install'
- The command window that opens will ask if you wish to continue with post install, type 'y'and press enter.
- Type 'y' and press enter when it asks if you have MinGW installed.
- Type 'C:/mingw' when it asks for your MinGW installation. (without quotes)
- Type 'y' when if it asks for adding mount bindings.
- Press enter and then Click 'Finish' to complete the installation.
- Extract CoreUtils to a folder. Copy the contents in the extracted 'bin' folder to "C:\msys\1.0\bin"
- Extract the ffmpeg sources. I’ll assume you’ve extracted them to c:\work\ffmpeg .
- Open MSYS and navigate to C:\work\ffmpeg
- Type "./configure --enable-memalign-hack --enable-shared" and press Enter. --enable-memalign-hack is to specify that you need windows binaries and --enable-shared is to specify to build 'libavcodec.dll' and 'libavformat.dll'
- By default, it is an LGPL build. You need specify -enable-gpl. For more info on command line arguments, type ./configure --help
- Type 'make' and press 'Enter'
I have personally verified all the above mentioned steps, but then you may face problems during the whole process. The following links might of use in that case.
Installing MSYS
http://www.transana.org/developers/setup/AudioExtract/MSYS-Win.htm
Building ffmpeg on windows
http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/
http://www.ffmpeg.org/general.html#SEC20
Building FFMpeg on linux is fairly easy. I have not tried building it on other platforms.