Files
Tha.Les aeaa35d1c3 Prefer a system FFmpeg on all desktop platforms, verified compatible (#420)
The desktop app always downloaded its own FFmpeg on macOS and Windows,
even when a working system install (Homebrew, apt, choco) was already on
PATH. On macOS this could force-install a build that doesn't run on an
older macOS than the pinned binary assumes, breaking the app outright
even though the user's own FFmpeg would have worked fine (#414).

Moves the "check PATH first" logic (previously Linux-only) into the
shared entry point so it applies on every desktop platform, and
strengthens verify_ffmpeg() to also confirm the binary has every encoder
StemDeck's export pipeline needs (pcm_s16le, flac, libmp3lame, libvorbis,
aac) -- not just that it launches, so a minimal/stripped system build
isn't accepted only to fail later during an export. The macOS primary
download source (shaka-project) now goes through this same check before
being accepted over the evermeet.cx fallback, so an incompatible primary
build no longer gets used just because its checksum matched.

Docker is unaffected -- it installs FFmpeg via apt in the image and never
runs this download path.

Co-authored-by: Thales <>
2026-08-22 08:57:55 +01:00
..