[FFmpeg-devel] warning about configuration mismatch between ff* binaries and libraries

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Mon Apr 11 00:31:02 EEST 2022


Dear Developers!
I'm curious about the warning about configuration mismatch between ff*
binaries and the libraries introduced in:

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9120e2cd3fadfa60269e94f97fc8107974c586fc

At Fedora, we're interested in having two builds: one built with limited
set of codecs[1] that is legally distributable in the US (since Red Hat,
Fedora sponsor is a US-based company) and another, with a more complete
set of codecs[2] distributed by RPM Fusion. The builds are intended to
be drop-in replacements. We'd like to be able to distribute just one set
of ff* binaries and only have two different interchangeable builds of
libraries.

The idea is to have the builds differ by enabled codecs only and have
the rest of the configuration the same (even if it's not the case
today).

So, does that warning still make sense today? Will something break
if we swap the libraries but keep the binary on user systems?

[1] Specifically, here are the codecs enabled in Fedora builds:
    https://src.fedoraproject.org/rpms/ffmpeg/blob/rawhide/f/enable_decoders
    and the corresponding configure call:
    https://src.fedoraproject.org/rpms/ffmpeg/blob/rawhide/f/ffmpeg.spec#_532
[2] And here's the RPM Fusion build configure call:
    https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/tree/ffmpeg.spec#n298

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan


More information about the ffmpeg-devel mailing list