[FFmpeg-devel] Procedure to enable the Windows on ARM64 FFMPEG Libraries

Martin Storsjö martin at martin.st
Thu Sep 12 11:35:11 EEST 2024


On Thu, 12 Sep 2024, Niranjan Kshatriya (QUIC) wrote:

> and compiled locally ( on ARM using WSL ) for Arm with tool chain : 
> GitHub - Windows-on-ARM-Experiments/mingw-woarm64-build: Workflows and 
> build scripts for Windows on Arm64 GNU cross-compiler for 
> `aarch64-w64-mingw32` 
> target.<https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build?tab=readme-ov-file> 
> with below configuration :
>
> ./configure --arch=arm64 --target-os=mingw32 --cross-prefix=aarch64-w64-mingw32- --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --disable-libpulse --disable-libxcb

Just as a general headsup/warning - that toolchain is heavily in progress 
and not very mature yet (plus that it has known ABI discrepancies compared 
to established aarch64 mingw environments). If you're evaluating the 
toolchain or planning on working on it, that's of course fine.

If you want an actually mature mingw toolchain for aarch64, grab one from 
https://github.com/mstorsjo/llvm-mingw/releases.

(This is of course unrelated to what it takes to enable building 
windows/arm64 binaries in that third party repo.)

// Martin



More information about the ffmpeg-devel mailing list