ffmpeg: enable svt-av1 and vmaf on aarch64

Those were there from the very start, seemingly as platform checks,
but aren't actually necessary, and in fact Jellyfin explicitly wants
svt-av1 on all platforms.
This commit is contained in:
K900
2025-08-09 09:27:04 +03:00
parent e56cd25cda
commit 5a0dd0acf0
@@ -134,7 +134,7 @@
withSrt ? withHeadlessDeps, # Secure Reliable Transport (SRT) protocol
withSsh ? withHeadlessDeps, # SFTP protocol
withSvg ? withFullDeps, # SVG protocol
withSvtav1 ? withHeadlessDeps && !stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isMinGW, # AV1 encoder/decoder (focused on speed and correctness)
withSvtav1 ? withHeadlessDeps && !stdenv.hostPlatform.isMinGW, # AV1 encoder/decoder (focused on speed and correctness)
withTensorflow ? false, # Tensorflow dnn backend support (Increases closure size by ~390 MiB)
withTheora ? withHeadlessDeps, # Theora encoder
withTwolame ? withFullDeps, # MP2 encoding
@@ -144,7 +144,7 @@
withVaapi ? withHeadlessDeps && (with stdenv; isLinux || isFreeBSD), # Vaapi hardware acceleration
withVdpau ? withSmallDeps && !stdenv.hostPlatform.isMinGW, # Vdpau hardware acceleration
withVidStab ? withHeadlessDeps && withGPL, # Video stabilization
withVmaf ? withFullDeps && !stdenv.hostPlatform.isAarch64 && lib.versionAtLeast version "5", # Netflix's VMAF (Video Multi-Method Assessment Fusion)
withVmaf ? withFullDeps && lib.versionAtLeast version "5", # Netflix's VMAF (Video Multi-Method Assessment Fusion)
withVoAmrwbenc ? withFullDeps && withVersion3, # AMR-WB encoder
withVorbis ? withHeadlessDeps, # Vorbis de/encoding, native encoder exists
withVpl ? withFullDeps && stdenv.hostPlatform.isLinux, # Hardware acceleration via intel libvpl