Repository navigation
FFmpeg moves from n8.1.3 to n9.1. dav1d 1.5.5, zimg 3.0.6 and libzvbi 0.2.46 are unchanged.
This is a major release because every FFmpeg library takes a new major version: libavcodec and libavformat 62 to 63, libavutil 60 to 61, libavfilter 11 to 12, libswscale 9 to 10, libswresample 6 to 7. Consumers pinned to upToNextMinor(from: "3.x") stay on 3.19.3 until they move their pin.
What 9.1 fixes for us
These are on 9.1 and not on the 8.1 line (checked against n8.1.4):
- The Dolby Vision RPU is found in any NAL of an access unit, not only the last one (
89bdd9e1a5). With a suffix SEI behind it, a frame lost its Dolby Vision metadata. - PTS correction counters reset on a decoder flush (
d69e8d0a95), sobest_effort_timestampafter a seek no longer carries guesses from before it. - Seeks in fragmented MP4 with audio and video in separate fragments land where they should (
e5e8efae5c). skip_sampleswith a time base that differs from the sample rate (afcde6551c).initial_paddingis set from an MP4 audio edit list, so a caller can tell whether a source states its AAC priming.
Patches
Sixteen patches now, down from eighteen. FFmpeg 9.1 ships four of ours, in full or in part:
patch_ffmpeg_vc1_parseris gone (upstreamaa7d1596db,ba7675a2d9,300e0a8aea).patch_ffmpeg_dav1_tagis gone (upstream4c6d67fe0f).patch_ffmpeg_eac3_dec3keeps only the JOC extension half. Thechan_lochalf is upstreamf10fdd6310.patch_ffmpeg_yadif_videotoolboxno longer carries the autorelease and texture failure fixes (upstream7f2e5cdd7c,6dcbe26a7a).
The rest:
yadif_videotoolboxandbwdif_videotoolboxare the commits of FFmpeg PR 26244 and 26276, applied to n9.1 unchanged. The n8.1.3 wrapper around the filter callback is gone.- Behaviour change: in both deinterlacers, a frame that fails on the GPU now returns an error. 9.1's yadif callback returns it. Before, a failed frame went out with whatever pixels its buffer held.
mpegts_dovi_descriptornow also carries the first commit of FFmpeg PR 26097, which checks that a whole video entry fits the PMT. 9.1 writes the LCEVC linkage descriptor in the same entry, so the fixed margin no longer covered it next to the Dolby Vision descriptors.fieldmatch_videotoolboxrefuses the same small heights CPUfieldmatchrefuses in 9.1 (3e6cf7803c).mov_lazy_frag_indexwas merged three-way onto 9.1'smov.c.av1_delayed_rap,ivtc_videotoolboxandmpegts_dovi_descriptorwere re-exported. In all four the changed lines are the same as before.- The DTS:X height decoder is upstream on master (
1191609d38) but not in 9.1, sopatch_ffmpeg_dca_x_heightsstays.
Checked
swift test: 59 tests in 19 suites pass.- IVTC equality on n9.1. The kernel harness finds 0 differences for fieldmatch (15000 cases) and decimate (288 cases). The CPU against GPU matrix is identical in 63 of 63 runs.
- AetherEngine builds against these binaries for macOS, tvOS and iOS. Its full suite passes (7148 + 19 tests), and so do its standalone CI scripts.
- All slices were rebuilt with Xcode 27.2.
BUILD-INFO.txtrecords FFmpegn9.1(74e4393595) and the patch hashes.
Closes the 9.x move tracked in #2.