-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fails to build with ffmpeg 5.0 #1111
Comments
Already a problem for the upcoming Ubuntu Kinetic |
this is also a problem for the upcoming Debian 12 (bookworm), where it has already been removed. |
There is some progress, at least from the audio part in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004634#41 in case someone is able to continue from there. |
This issue is starting to become really painful for our maintenance in conda-forge. Almost all other packages have moved on to ffmpeg 5 or even 6, and now several packages are stuck on this. |
I was able to get OpenSceneGraph 3.6.5 to build against ffmpeg-5.1.4 using the attached, in addition to Paul Liu's audio patch from the Debian bug thread linked in #1111 (comment). I haven't stress-tested it, but at least it's a start. |
Awesome @spillner! Tried the patch in conda-forge/openscenegraph-feedstock#34, linux compiles fine (haven't tested it with downstream dependencies of course, though we could arrange that). However, it fails compilation on osx:
and similarly on windows:
|
Strange that they're linker failures, not compilation failures, as you might expect if the argument types don't quite match up. Can you tell me which compiler and version of ffmpeg you're using on OS X and Windows, and can you confirm that other programs using ffmpeg link correctly in the same environment? |
All builds were using ffmpeg 5.1.2, which is the last one we've built from the 5.1.x series (if necessary, we can build 5.1.4 of course).
We've had no problems with those builds while ~all of conda-forge was being built against 5.1.x (though in the meantime we've moved on to ffmpeg 6.1; osg is one of the very few exceptions that hasn't been able to follow suit). |
OpenSceneGraph doesn't build with the recently released ffmpeg 5.0 - main problems are the use of the removed AVPicture API, attempts to access the "codec" member of an AVStream, and the use of avcodec_decode_video2.
The text was updated successfully, but these errors were encountered: