Skip to content

Deps: Bump FFmpeg to 9.0.1 - #14831

Open
kamfretoz wants to merge 4 commits into
PCSX2:masterfrom
kamfretoz:ffmpreg
Open

Deps: Bump FFmpeg to 9.0.1#14831
kamfretoz wants to merge 4 commits into
PCSX2:masterfrom
kamfretoz:ffmpreg

Conversation

@kamfretoz

@kamfretoz kamfretoz commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

This PR bumps our ffmpeg version to 9.0.1, as well as:

  • Purged the in-tree ffmpeg headers now that we bundled ffmpeg ourselves
  • Switch the uses of pix_fmts to avcodec_get_supported_config() since ffmpeg 9 removed it.
  • And changes the ffmpeg's dll copy path to not be hardcoded.

Rationale behind Changes

More up-to-date deps the better!

Suggested Testing Steps

Test ffmpeg and that all its codecs still works.

Did you use AI to help find, test, or implement this issue or feature?

Narhp.

@TellowKrinkle

Copy link
Copy Markdown
Member

Is the change backwards compatible with older ffmpeg? If so, you should move the commit that fixes ffmpeg 9 support before the one that enables ffmpeg 9, so you don't have commits that don't build. Same with the "don't hardcode dll path" commit, if that's compatible with both 8 and 9, it should go before the update.

If not, we should probably add an ifdef to allow backwards compatibility, at least for a few ffmpeg versions.

Also, "deprecate" is something a library does. (It's when you mark something you're planning on removing in the future so that users of the library can switch off of it slowly instead of their code breaking right away.) As the user of the library, we can stop using deprecated features, but naming a commit "deprecate <thing>" is really confusing. Who are we keeping it around for? The only user of PCSX2 code is ourselves...

@TheLastRar

TheLastRar commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Is the change backwards compatible with older ffmpeg? If so, you should move the commit that fixes ffmpeg 9 support before the one that enables ffmpeg 9, so you don't have commits that don't build. Same with the "don't hardcode dll path" commit, if that's compatible with both 8 and 9, it should go before the update.

Looks like at least avcodec_get_supported_config is supported in 7.1, but not 7.0 ffmpeg github.
I did, however, not test building against 7.1, or 8.X.

@Mrlinkwii

Copy link
Copy Markdown
Contributor

will probably need to move this to 9.0.1 since that was released

@kamfretoz

Copy link
Copy Markdown
Contributor Author

Alright i have re-arranged the commits so the version bumps comes later after the fixes, also renamed the wording of the commit name, and bumped ffmpeg to 9.0.1

@kamfretoz kamfretoz changed the title Deps: Bump FFmpeg to 9.0 Deps: Bump FFmpeg to 9.0.1 Aug 15, 2026
Comment thread .github/workflows/scripts/macos/build-dependencies-universal.sh Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Add support for FFmpeg 9

4 participants