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

Timo Rothenpieler timo at rothenpieler.org
Sat Sep 14 21:43:20 EEST 2024



On 12.09.2024 09:21, Niranjan Kshatriya (QUIC) wrote:
> Hi team,
> 
> I am working on Windows on ARM application development and wants to execute FFMPEG on my device.
> On FFMPEG download page (Releases * BtbN/FFmpeg-Builds (github.com)<https://github.com/BtbN/FFmpeg-Builds/releases>) "windows on Arm" binary is not available (Other binaries(x64 and linux Arm64) are generated and validated ).
> 
> X64 version of FFMPEG binary is running successfully on my ARM device but looking for ARM Native FFMPEG support for better experience as x64 is running slow on my device compared to x64 device.
> 
> I have downloaded the source from :  https://git.ffmpeg.org/ffmpeg.git    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
> 
> 
> It will be good to have Windows on ARM prebuilt libraries for FFMPEG as part of Download repository (Releases * BtbN/FFmpeg-Builds (github.com)<https://github.com/BtbN/FFmpeg-Builds/releases>).

I decided against it since it's highly experimental still and breaks 
every other weak for a multitude of reasons.

> What it takes to generate Windows on ARM libraries?

Right now builds work fine, just grab my set of scripts and build away.


More information about the ffmpeg-devel mailing list