Skip to content

FFmpeg 9.0 support - #11679

Merged
kryksyh merged 2 commits into
audacity:audacity3from
kryksyh:ffmpeg-9-audacity3
Aug 13, 2026
Merged

kryksyh merged 2 commits into
audacity:audacity3from
kryksyh:ffmpeg-9-audacity3

Conversation

@kryksyh

@kryksyh kryksyh commented Aug 13, 2026

Copy link
Copy Markdown
Member

Resolves: #11581

  • 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

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 query implementations.
@coderabbitai

coderabbitai Bot commented Aug 13, 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: 6b2818c1-4a6e-4b57-b765-7a1515318437

📥 Commits

Reviewing files that changed from the base of the PR and between c1310b1 and 7e996ff.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

📝 Walkthrough

Walkthrough

The FFmpeg support layer adds FFmpeg 9 codec, format, and utility implementations. It adds dynamic loading for avcodec_get_supported_config and exposes typed codec capability queries. Legacy FFmpeg versions continue to read capability fields through version-specific implementations. Codec wrappers now receive the FFmpegFunctions table. FFmpeg 9 codec ID compatibility guards and API resolver registrations are included. The macOS packaging workflow now uses packaging action version 7.

Estimated code review effort: 3 (Moderate) | ~30 minutes

Mergeability Score: ⚪ Minimal · up to 7e996

The PR adds FFmpeg 9.0 support without any supplied current-head issue requiring follow-up; it is merge-ready after normal checks and review, with no actionable merge-blocking risk remaining.

Sequence Diagram(s)

sequenceDiagram
  participant FFmpegFunctions
  participant AVCodecWrapperImpl
  participant AVCodecCapabilities
  participant FFmpeg
  FFmpegFunctions->>AVCodecWrapperImpl: Create wrapper with function table
  AVCodecWrapperImpl->>AVCodecCapabilities: Request codec capability
  AVCodecCapabilities->>FFmpeg: Call avcodec_get_supported_config
  FFmpeg-->>AVCodecCapabilities: Return supported configuration
  AVCodecCapabilities-->>AVCodecWrapperImpl: Return typed capability data
Loading
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'FFmpeg 9.0 support' directly and concisely describes the main change in the changeset, which adds FFmpeg 9.0 support throughout the codebase.
Description check ✅ Passed The description provides the resolved issue link (#11581), matches the required template structure, and includes all checked items demonstrating proper preparation and testing intent.
Linked Issues check ✅ Passed The PR successfully implements FFmpeg 9.0 support as required by issue #11581. Changes include new AVCodec 63 implementations, version-aware codec lookups, capability query support, and compatibility with FFmpeg 9.0 release.
Out of Scope Changes check ✅ Passed All changes directly support FFmpeg 9.0 integration. The macOS packaging action update to Node 24 aligns with FFmpeg 9.0 testing requirements and does not introduce unrelated scope.

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.

@kryksyh
kryksyh merged commit 821646b into audacity:audacity3 Aug 13, 2026
9 checks passed
@kryksyh
kryksyh deleted the ffmpeg-9-audacity3 branch August 13, 2026 18:19
@kryksyh kryksyh added this to the Audacity 3.7.9 milestone Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants