Skip to content

FFmpeg 9.0 support - #11602

Merged
kryksyh merged 1 commit into
masterfrom
ffmpeg-9
Aug 13, 2026
Merged

kryksyh merged 1 commit into
masterfrom
ffmpeg-9

Conversation

@kryksyh

@kryksyh kryksyh commented Aug 6, 2026

Copy link
Copy Markdown
Member

Resolves: #11581

Adds ffmpeg9 support

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@kryksyh
kryksyh requested a review from grliszas14 August 6, 2026 13:29
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 74171bef-98c3-4c5b-bc71-cc40770e722c

📥 Commits

Reviewing files that changed from the base of the PR and between f5eeb01 and 34e7897.

📒 Files selected for processing (25)
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/AVCodecFunctions.h
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/CMakeLists.txt
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/FFmpegFunctions.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/FFmpegTypes.h
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/AVCodecIDLookup.inl
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/FFmpegAPIResolver.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/FFmpegAPIResolver.h
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/55/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/57/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/58/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/59/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/60/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/61/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/62/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/63/AVCodecIDLookup.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/63/AVCodecImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/AVCodecCapabilitiesLegacy.inl
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/AVCodecCapabilitiesQuery.inl
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/AVCodecFunctionsLoader.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avcodec/AVCodecWrapperImpl.inl
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avformat/63/AVFormatImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avutil/61/AVUtilImpl.cpp
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/avutil/61/avconfig.h
  • au3/modules/import-export/mod-ffmpeg/lib-ffmpeg-support/impl/ffmpeg-9.0.0-single-header.h
  • src/au3wrap/CMakeLists.txt

📝 Walkthrough

Walkthrough

The FFmpeg integration now includes FFmpeg 9.0.0 declarations and versioned implementations for avutil, avcodec, and avformat. The resolver registers the new API versions and codec identifiers. Codec wrappers receive the owning FFmpeg function table. Capability queries use avcodec_get_supported_config for newer FFmpeg versions and legacy fields for older versions. Removed codec identifiers map to AV_CODEC_ID_NONE.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant FFmpegFunctions
  participant AVCodecWrapperImpl
  participant AVCodecCapabilities
  participant FFmpeg9
  FFmpegFunctions->>AVCodecWrapperImpl: Create wrapper with FFmpeg function table
  AVCodecWrapperImpl->>AVCodecCapabilities: Query codec capability
  AVCodecCapabilities->>FFmpeg9: Call avcodec_get_supported_config
  FFmpeg9-->>AVCodecCapabilities: Return configuration array and count
  AVCodecCapabilities-->>AVCodecWrapperImpl: Return typed capability array
Loading
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: adding FFmpeg 9 support.
Description check ✅ Passed The description includes the issue link, change summary, checklist responses, and QA status.
Linked Issues check ✅ Passed The changes implement FFmpeg 9.0 support and address the codec capability API changes described in issue #11581.
Out of Scope Changes check ✅ Passed The changes are focused on FFmpeg 9.0 integration, compatibility, codec queries, and version-specific build registration.

Warning

Review ran into problems

🔥 Problems

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The main breaking change introduced by 9.0 is removal of codec
capability fields from AVCodec, replacing it with queries through
avcodec_get_supported_config.

AVCodecWrapperImpl split into legacy and quiery implementations.
@kryksyh
kryksyh merged commit acf3981 into master Aug 13, 2026
6 of 10 checks passed
@kryksyh
kryksyh deleted the ffmpeg-9 branch August 13, 2026 14:21
kryksyh added a commit that referenced this pull request Aug 27, 2026
Resolves: #11581

Adds ffmpeg9 support

<!-- Use "x" to fill the checkboxes below like [x] -->

- [x] I signed [CLA](https://www.audacityteam.org/cla/)
- [x] The title of the pull request describes an issue it addresses
- [x] If changes are extensive, then there is a sequence of easily
reviewable commits
- [x] Each commit's message describes its purpose and effects
- [x] There are no behavior changes unnecessary for the stated purpose
of the PR

Recommended:
- [x] Each commit compiles and runs on my machine without known
undesirable changes of behavior

QA:

- [ ] Testflow test cases have been run

(cherry picked from commit acf3981)
kryksyh added a commit that referenced this pull request Aug 27, 2026
FFmpeg 9.0 support
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.

FFmpeg 9

2 participants