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

Fix building with ffmpeg 5 and newer #51

Open
wants to merge 1 commit into
base: rpi02
Choose a base branch
from

Conversation

death-droid
Copy link

Newer version of FFMpeg have changed the returned value from the "avcodec_find_decoder_by_name" function.

This change should maintain support for older releases while also allowing it to compile with FFMpeg 5.0 and newer.

@Fredrum
Copy link
Owner

Fredrum commented Jan 23, 2024

Hello and thanks for your interest to contribute.
I no longer have time to update and fix issues on this project as It's always work to test on several OS's and Hardware platforms and it all takes a bit too much time.

Currently this/my version of Chiaki, rpi02, is working off the RaspberryOS custom ffmpeg version. There was some talk when it was initially designed that it would be upstreamed to mainline ffmpeg. But later whaen I chatted to the guy making the RPiOS version he said that had met resistance and wasn't happening.

So the first thing to try would be if the official ffmpeg 5.0 now allows for the zero copy drm memory buffer to gl texture conversions that the custom rpi ffmpeg was doing. There might be some other specifics as well that the rpi version added.

Maybe your addition would be harmless even if the RPiOS ffmpeg was assumed but as you can see there's a bunch if things I'd want to look into and I just don't have the time unfortunately.

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.

2 participants