Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba56c7 commit b38d11cCopy full SHA for b38d11c
‎localstack-core/localstack/packages/ffmpeg.py
@@ -3,10 +3,10 @@
3
4
from localstack.packages import Package
5
from localstack.packages.core import ArchiveDownloadAndExtractInstaller
6
-from localstack.utils.platform import get_arch
+from localstack.utils.platform import Arch, get_arch
7
8
# Mapping LocalStack architecture to BtbN's naming convention
9
-ARCH_MAPPING = {"amd64": "linux64", "arm64": "linuxarm64"}
+ARCH_MAPPING = {Arch.amd64: "linux64", Arch.arm64: "linuxarm64"}
10
11
# Download URL template for ffmpeg 7.1 LGPL builds from BtbN GitHub Releases
12
FFMPEG_STATIC_BIN_URL = "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n{version}-latest-{arch}-lgpl-{version}.tar.xz"
0 commit comments