C++ – How to compile a 64-bit version of ffmpeg on Windows

64-bitcffmpegmingw

i need to compile ffmpeg (64 bit shared dll) for windows.
however I configure in mingw, it always produces 32 bit binary for me.

tried this already

./configure --enable-shared --disable-static --enable-memalign-hack --arch=amd64
./configure --enable-shared --disable-static --enable-memalign-hack --arch=x86_64

my guess is that a x86 to x86_64 cross compiler is missing.

but just can find a way to make those 64bit dlls.

Best Answer

See here for a 64-bit version of MinGW. The site even has 64-bit binaries of the ffmpeg library!

UPDATE: Meanwhile it's easier to build on/for Windows, e.g. through ffmpeg-windows-build-helpers scripts.

Related Topic