On Monday, February 28, 2022 3:45:55 AM CET Ian McInerney via devel wrote:
I noticed in the electron thread that we now have FFMPEG 5.0 in the
official Fedora repos, but this will of course mean that certain codecs are
removed due to legal concerns. This prompts a few questions though:
1) How are these removed codecs handled in the library? Can we link an
upstream application against FFMPEG in Fedora now and have it gracefully
fail when it tries to access a non-free codec that was removed, or does the
removal of these codecs create a different API that upstream applications
would have to code around? e.g. does it mean they have to add conditional
compilation for the specific codecs they need to use from FFMPEG instead of
just around FFMPEG itself?
FFMPEG has an API to query if support for a codec is compiled in or not.
Applications should check if the codec they want to use is available. If an
application just crashes, bugs should be reported that they should make
correct use of the FFMPEG API.
2) Is there an easily accessible list of the enabled codecs we can
point
upstreams to when talking about this?
Applications should not care about our lists as it might change in future.
They should use the API of ffmpeg to check if a codec is available or not.
I hope that helps :-)