diff --git a/imageio_ffmpeg/_definitions.py b/imageio_ffmpeg/_definitions.py index 02535df..cdce78d 100644 --- a/imageio_ffmpeg/_definitions.py +++ b/imageio_ffmpeg/_definitions.py @@ -1,3 +1,4 @@ +import platform import sys import struct @@ -7,6 +8,9 @@ def get_platform(): bits = struct.calcsize("P") * 8 if sys.platform.startswith("linux"): + architecture = platform.machine() + if architecture == "aarch64": + return "linuxaarch64" return "linux{}".format(bits) elif sys.platform.startswith("freebsd"): return "freebsd{}".format(bits)