You may also download a pristine FFmpeg version 0.4.7 here (external link), and apply the patch available here.
It is recommended to use the fully patched FFmpeg-0.4.7 library available here. This directory is empty for all what Windows is concerned, but the MSys command line will make it appear like the directory chosen for FFmpeg-0.4.7 (in this example, F:/devel/ffmpeg-0.4.7). Add the line:į:/devel/ffmpeg-0.4.7 /home/Administrator/ffmpeg-0.4.7Īnd create the corresponding directory in MSys: For this, you need to edit the file /etc/fstab. Make a link to the directory containing the FFmpeg-0.4.7 library from your home directory in MSys. Make sure that MinGW was properly installed by checking that the file /etc/fstab (for a Windows editor, this is E:\Program Files\MSys\etc\fstab) contains the line: For the sake of this guide, we will assume /home/Administrator from now on. To find out what is your home directory, type pwd at the start on the MSys command line.
Suffice to say that there is a direct correspondance between directories in MSys and Windows (please note the difference between slash and backslash):Į:\Program Files\MSys\home\Administrator\ffmpeg-0.4.7 MSys is a minimal, POSIX compliant system with support for the Bourne shell necessary to the configure scripts.įor in-depth Unix and Linux command line information, please refer to the MinGW and other websites. MinGW is the set of libraries and header files, combined with the GCC toolset and necessary to build an application under Windows.
If you are using Windows, you need to install the current MinGW and MSys, available here (external link). The following instructions will take you through the steps necessary to install MinGW and MSys, then build FFmpeg under Windows.
Building FFmpeg on Windows HowTo Author: Guilhem Tardy