Skip to content

chore: 升级 ffmpeg 8.1.2 至 9.0.2 - #13

Merged
apoint123 merged 2 commits into
mainfrom
chore/ffmpeg-9.0.2
Sep 26, 2026
Merged

apoint123 merged 2 commits into
mainfrom
chore/ffmpeg-9.0.2

Conversation

@apoint123

Copy link
Copy Markdown
Owner

将内置 FFmpeg 从 8.1.2 升级到 9.0.2(libavcodec 63、libavformat 63、libavutil 61、libswresample 7)。

改动

  • update-ffmpeg.yml:FFmpeg tag 改为 n9.0.2
  • vendor/configs.zip、vendor/ffmpeg_slim.zip:由 Update Bundled FFmpeg workflow 重新生成(chore: update bundled FFmpeg #12)
  • README、CHANGELOG 同步更新

兼容性

  • Rust 代码无需改动:9.0 移除的弃用 API(FF_API_CODEC_PROPS、FF_API_PARSER_PRIVATE/CODECID、FF_API_INTERNAL_TIMING 等)均未被使用
  • 提取/构建脚本无需改动:C 源文件 381 → 385(Linux),新增 h2645_parse.c、lcevctab.c、lcevc.c、packet_list.c、raw_color_params.c,移除 oggparsecelt.c,编译参数不变
  • ffmpeg_audio_sys 导出的绑定中不再包含上游已移除的 API,对下游属于破坏性变更
  • system 模式的最低版本要求保持不变

验证

  • 本地:Linux x86_64(WSL)与 Windows MSVC x86_64 下 cargo test -p ffmpeg_audio 全部通过,clippy 通过
  • CI:chore: update bundled FFmpeg #12 上 17 个目标全部通过

apoint123 and others added 2 commits September 26, 2026 11:15
Co-authored-by: apoint123 <108002475+apoint123@users.noreply.github.com>
@apoint123
apoint123 merged commit 0dff143 into main Sep 26, 2026
20 checks passed
@apoint123
apoint123 deleted the chore/ffmpeg-9.0.2 branch September 26, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant