Personal tools
Namespaces
Variants
Actions
Navigation
Projects
Toolbox

How to build ffmpeg

From AC3Filter
Jump to: navigation, search

This instruction explains how to build ffmpeg binaries used by valib and AC3Filter.

[edit] Build environment

Download MinGW-w64 x86 and x64 toolchains:

Download MSYS:

Get FFMPEG:

Unpack MSYS to c:\msys.

Unpack 32- and 64-bit MinGW to c:\mingw32 and c:\mingw64 respectively.

Create c:/msys/etc/fstab file with the following contents:

c:/mingw32	/mingw32
c:/mingw64	/mingw64

Run C:\msys\msys.bat (this will create the home folder at C:\msys\home\%username%).

Unpack ffmpeg source to the msys home folder (C:\msys\home\%username%). Copy valib\3rdparty\ffmpeg\build32.sh and valib\3rdparty\ffmpeg\build64.sh to ffmpeg folder, tune it if nessesary and run it from msys console.

After building, copy:

[edit] Links