Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FFmpeg 7.0 #178

Merged
merged 12 commits into from
Apr 3, 2024
Merged

Conversation

AdrianEddy
Copy link
Contributor

@AdrianEddy AdrianEddy commented Mar 27, 2024

This PR adds support for FFmpeg 7.0. Depends on zmwangx/rust-ffmpeg-sys#72
Also, I wasn't able to find any easy way to install 7.0 in CI yet, so the CI is not updated

FFmpeg 7.0 removed a bunch of deprecated stuff, and the ChannelLayout is completely changed. I tried to implement new version in a least intrusive way.

Also, since it's a major version bump, could you please try to review and merge #164 for 7.0? These features (especially new_with_codec) are very much needed (judging by the amount of opened PRs, and I need them myself too) and they are simple enough that merging them should be in scope even though this crate is in maintenance mode only

Thank you

@Polochon-street
Copy link
Collaborator

Polochon-street commented Apr 1, 2024

Thanks a lot for taking care of this!

As for #164, I've taken a look and made a comment, but it's not really my area of expertise, would you mind reviewing it too?
Apart from my comment I think it looks good, so I could merge it as soon as it's fixed if it looks good to you too :)

I think the same comments apply to this one as zmwangx/rust-ffmpeg-sys#72 - let's wait til 7.0 landed somewhere to make sure the CI doesn't complain about anything :)

@AdrianEddy
Copy link
Contributor Author

I also included changes from #129, to complement the new new_with_codec
So once this is merged, #129, #51, #149 can be closed

@AdrianEddy
Copy link
Contributor Author

Ok the CI is all green now :)

@Polochon-street
Copy link
Collaborator

Awesome! Thanks a lot for working on that 🙏 merging now

@Polochon-street Polochon-street merged commit cc8bf5f into zmwangx:master Apr 3, 2024
13 checks passed
@Polochon-street
Copy link
Collaborator

aaand just published the crate.

@AdrianEddy
Copy link
Contributor Author

Amazing, thank you! Let's close #51, #129, #149 since that functionality is now in master

@doivosevic
Copy link

does the root readme need to be updated to mention 7.0 support? right now I see it only mentions
Currently supported FFmpeg versions: 3.4.x through 4.4.x

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.

None yet

3 participants