Windows release build requests Opus but omits its audio decoder #12

Closed
opened 2026-11-21 20:31:06 +00:00 by MilqueAndToast · 3 comments
Contributor

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: swresample

We 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-swresample and --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 script

The script documents the goal of keeping FFmpeg small. We found no commit or discussion explaining why swresample was disabled specifically or indicating that dropping Opus was intentional.

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: swresample` We 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](https://git.onerag90.de/recomps/fe3h-recomp/src/commit/391e7304676a53e9c6f0f60aea4f73d0563810f9/tools/build_deps_windows.sh#L27-L32) **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-swresample` and `--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 script](https://git.onerag90.de/recomps/fe3h-recomp/src/commit/f742666d375a931876d9b51ab953dc9ab5837854/tools/build_deps_windows.sh#L2-L32) The script documents the goal of keeping FFmpeg small. We found no commit or discussion explaining why `swresample` was disabled specifically or indicating that dropping Opus was intentional.
Author
Contributor

We asked whether this was intentional in LAS Recomp #867. We’ll wait to hear back before deciding whether to change the FE3H build.

We asked whether this was intentional in [LAS Recomp #867](https://github.com/peiikai/LASRecomp/issues/867). We’ll wait to hear back before deciding whether to change the FE3H build.
Author
Contributor

The LAS Recomp maintainer confirmed that the opus decoder entry was a leftover in the build recipe FE3H inherited. Link’s Awakening uses VP9 video and Vorbis audio. Maintainer’s reply

We can probably remove opus from --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 opus in --enable-parser.

The LAS Recomp maintainer confirmed that the `opus` decoder entry was a leftover in the build recipe FE3H inherited. Link’s Awakening uses VP9 video and Vorbis audio. [Maintainer’s reply](https://github.com/peiikai/LASRecomp/issues/867#issuecomment-7068947253) We can probably remove `opus` from `--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 `opus` in `--enable-parser`.
Owner

@MilqueAndToast Thanks for tracking this down, and for checking with the LAS maintainer. Removed opus from 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.

@MilqueAndToast Thanks for tracking this down, and for checking with the LAS maintainer. Removed `opus` from 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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
recomps/fe3h-recomp#12
No description provided.