[FFmpeg-devel] Procedure to enable the Windows on ARM64 FFMPEG Libraries
Niranjan Kshatriya (QUIC)
quic_nkshatri at quicinc.com
Tue Sep 17 06:49:22 EEST 2024
Thanks for the Info.
We do have some queries :
> 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.
>>[Niranjan]: Is the Reason of failure is due to toolchain not mature? As toolchain : https://github.com/mstorsjo/llvm-mingw/releases is not stable we may end compilation error for arm is what you highlighting as 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.
>>[Niranjan ]: We have learnt from Kacper below 3 ways to compile:
Currently you have 3 ways to produce native Windows on ARM binaries.
Mentioned by Martin, LLVM based toolchain https://github.com/mstorsjo/llvm-mingw/releases
Mentioned by You, GNU based toolchain
https://github.com/Windows-on-ARM-Experiments
Are you following one of above step for compilation?
>>[Niranjan]: As Arm binaries are not compile on server, how the contributor can pick these binaries?
As for prebuilt binaries, it's fully up to contributors to decide to include ARM pipelines in their auto build scripts.
Regards,
Niranjan
-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Timo Rothenpieler
Sent: Sunday, September 15, 2024 12:13 AM
To: ffmpeg-devel at ffmpeg.org
Subject: Re: [FFmpeg-devel] Procedure to enable the Windows on ARM64 FFMPEG Libraries
WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
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.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list