Repository navigation
Conversation
The MinGW builds (windows-x86_64-pgo) still used crueter-ci's FFmpeg, which has no AV1 decoder, so Switch 2 movies in AV1 (Fire Emblem: Fortune's Weave, the Ocarina of Time title screen) played black there while the MSVC and Linux builds play them since 959973a. The log showed nx2 video: FFmpeg has no decoder for "video/av1". MinGW amd64 now uses the same FFmpeg as Takoroka/ffmpeg-av1 9.0.2-av1-1: FFmpeg 946fcce07b with crueter-ci's patch and configure flags, plus libdav1d 1.5.4 (MSYS2's static build) merged into libavcodec. The package is a release of this repository (9.0.2-av1-mingw-1); its README lists the sources and flags and it includes the build script. MSYS2's dav1d is built with -fstack-protector-strong and _FORTIFY_SOURCE, so the package also links mingw-w64's static libssp. ARM64 MinGW keeps crueter-ci's package. Tested on a local MinGW clang PGO build (RTX 5080), Ocarina of Time, 30 s from boot with no input: "Using decoder libdav1d" and the title screen's AV1 movie plays; before, the decoder failed to open and the frames stayed black. The binary links without new DLLs. Assisted-by: Claude Opus 5.5 (debugging, package build, implementation, drafting) Signed-off-by: Duck912 <350528965+Duck912@users.noreply.github.com>
|
Retargeted to |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
This was added to this branch already. |
Summary
The PGO builds (windows-x86_64-pgo, MinGW) couldn't play AV1 movies: their FFmpeg has no AV1 decoder, so Switch 2 movies like the Ocarina of Time title screen and the Fire Emblem cutscenes stayed black. The MSVC and Linux builds already play them.
Type of change
Related issues
Follows 959973a (FFmpeg with AV1 on Windows MSVC and Linux).
Testing
Games tested:
The Legend of Zelda: Ocarina of Time (local MinGW clang PGO build, RTX 5080): the title screen movie plays. Before, it stayed black and the log said
FFmpeg has no decoder for "video/av1".Checklist
Screenshots / logs
Before:
nx2 video: FFmpeg has no decoder for "video/av1"After:
Using decoder libdav1d,nx2 video: decoder for "video/av1" openI used Claude Opus 5.5 to help debug this, build the package and draft the text.
Summary by CodeRabbit