Closed odidev closed 3 years ago
The process, which could improvements on many fronts:
So if there is a prebuild ffmpeg exe for aarch64, the process should be relatively straightforward.
Otherwise, do you think a CD workflow on Github actions could help here?
Arm64 binary is available in the form of tar here
I have followed the following steps to create and test the wheel for aarch64 in quay.io/pypa/manylinux2014_aarch64 docker-
Downloaded and untared the ffmpeg-4.2.2-arm64 tar file.
Cloned imageio-binaries and imageio-ffmpeg package. Also install invoke using pip.
Renamed the binary to ffmpeg-linuxaarch64-v4.2.2 and placed inside imageio-binaries/ffmpeg/ folder.
Did the following modification in file to create a wheel for aarch64.
Commit Link - https://github.com/odidev/imageio-ffmpeg/commit/e43f6e175393e689a745c485a5e629c553e13bc3
Ran the /opt/python/cp36-cp36m/bin/python -m invoke build command in order to build the wheel for aarch64.
Installed the created wheel and some dependencies like psutil, pytest-cov, pytest which are used for testing.
Place the binary to imageio-ffmpeg/imageio_ffmpeg/binaries/ folder and add execute permission.
Then ran /opt/python/cp36-cp36m/bin/python -m invoke test command to test the wheel.
Could you please suggest further blockers in releasing the wheel for aarch64?
Thanks for looking into this! In that case I don't think there are any blockers. We should add the new ffmpeg binary to imageio-binaries, and add the changes in the commit that you referenced. Could you please make a PR for these?
I have raised the PR here and also raised the PR for the binary in imageio-binaries
Thanks! I just pushed a new release to pypi, so if all is well, you should be able to pip install imageio-ffmpeg
on aarrch64.
I have seen that the aarch64 wheel is missing in Pypi. It will be useful if the aarch64 wheel is released as -
The Arm architecture has been available on AWS (Graviton2) for about 2 years now and has seen a lot of adoption by various organizations. The install base of Arm users is growing at a rapid pace.
Oracle cloud will be releasing Arm based Compute Shapes in the future. Please see
Generally, there is a lot of momentum behind various products switching to Arm based CPUs. For example, the Microsoft surface Pro X is an Arm based device.
@almarklein Please let me know your interest in releasing aarch64 wheels. I can help in this. To start with can you please suggest the steps you are using for building the wheel.