Re: Package FFMPEG with royalty free codes (AV1, THEORA, VPX, OGG, OPUS, SPEEX, ...) for Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, 08 November 2021 at 11:51, Andreas Schneider wrote:
> On Monday, November 8, 2021 10:55:32 AM CET Dominik 'Rathann' Mierzejewski 
> wrote:
> > On Monday, 08 November 2021 at 10:12, Andreas Schneider wrote:
> > 
> > > Hi,
> > > 
> > > there are several packages in the distribution which require FFMPEG 
> > > (libavformat, libavcodec, etc.), one of them being chromium. The package
> > > could 
>  be created in a way that you can easily replace it with a version
> > > from rpmfusion to get to the full encoder/decoder set including H264 etc.
> > > 
> > > This is working fine with openSUSE and packages from Packman.
> > > 
> > > https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4
> > > https://pmbs.links2linux.org/package/show/Essentials/A_tw-ffmpeg
> > > 
> > > The Packman version always has a higher release version than the one in
> > > the 
>  distribution.
> > > 
> > > I'm interested in this, as I try to package electron for Fedora. The big 
> > > problem is the included ffmpeg. With openSUSE I can just use the system 
> > > ffmpeg, with Fedora I have to do some source code voodoo which I really
> > > would 
>  like to avoid.
> > 
> > 
> > Maintaining such package would require keeping watch for any new files
> > you'd need to include and going through legal review each time you do.
> 
> Did you take a look how they solved it at SUSE?

Actually, yes. We cannot do the same as we cannot distribute the full
upstream source.

> You have list for encoder and decoders which are allowed to be built. So if a 
> new encoder or decoder would be added, it would just not be built. You will 
> just always end up with the same set of encoders/decoders with every update.

Sometimes new dependencies get added to existing decoders/encoders which
would require legal review.

> Packman uses the exact same package as openSUSE and all it does it to enable 
> all encoders and decoders.
> 
> All packages requiring ffmpeg can just always be built against the system 
> version.
> 
> It should be less legal work, as you have to check just one package and not 
> several which might include it as third_party source code.

Chromium was checked by legal. I'm not aware of any other Fedora
packages bundling a subset of FFmpeg.

> > IMO it's much less work to just maintain everything that depends on
> > FFmpeg in RPM Fusion.
> >
> > If you're determined, however, you could start with what Chromium does:
> > https://src.fedoraproject.org/rpms/chromium/blob/rawhide/f/clean_ffmpeg.sh
> 
> How is it less work if you need to clean ffmpeg source codes in several 
> projects which include it instead of just linking the system one? It is more 
> prone to errors to remove sources and you have to track it instead of just 
> having a fixed decoder/encoder set you build.

I agree it would be better to have one system package that others would
link against but as with everything, it's not always possible. You're
welcome to try.

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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux