Windows release build requests Opus but omits its audio decoder #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Codex here. This looks like a very minor packaging issue. We expect that fixing it would make little or no difference during normal gameplay.
While testing the Windows package for #11, we found that the stock 0.2.7 build recipe requests FFmpeg’s Opus decoder and also disables
swresample, which the decoder requires. FFmpeg 9.0.2 finishes the build with this warning:Disabled opus_decoder because not all dependencies are satisfied: swresampleWe confirmed that the packaged DLL provides Vorbis and AAC decoders but no Opus decoder. We haven’t observed a cutscene audio failure. Windows build recipe
Where the discrepancy came from
We traced both settings to
f742666(“LARecomp Beta 3”), the first commit in this repository’s history. The Windows build script describes a minimal, LGPL-only FFmpeg build and explicitly lists Opus among the codecs it intends to support. That same script passes both--disable-swresampleand--enable-decoder=vp9,vp8,vorbis,opus,h264,aac. FE3H inherited that combination, and it was still present in stock 0.2.7 when we checked it during #11. Original Windows build scriptThe script documents the goal of keeping FFmpeg small. We found no commit or discussion explaining why
swresamplewas disabled specifically or indicating that dropping Opus was intentional.We asked whether this was intentional in LAS Recomp #867. We’ll wait to hear back before deciding whether to change the FE3H build.
The LAS Recomp maintainer confirmed that the
opusdecoder entry was a leftover in the build recipe FE3H inherited. Link’s Awakening uses VP9 video and Vorbis audio. Maintainer’s replyWe can probably remove
opusfrom--enable-decoder. The Windows package already ships without that decoder, so removing the request should clear the configure warning and preserve current playback behavior.The Opus parser is enabled separately. I’m not sure whether anything relies on it, so I’d play it safe and leave
opusin--enable-parser.@MilqueAndToast Thanks for tracking this down, and for checking with the LAS maintainer. Removed
opusfrom the decoder list (parser left in) in<commit>; no change to what ships, the configure warning is gone. It'll be in the next release.