Is it possible to build a ffmpeg package, without it containing proprietary software?

Hi,

I was wondering if it’s possible to pass some configure options to FFmpeg in my PKGBUILD, in order to make it compatible with the OBS licensing requirements. I read that most of FFmpeg’s source code is GPL licensed, so surely, it should be possible to create a version of FFmpeg I will be allowed to keep in the OBS.

Thanks for your time,
Brenton

Not only possible, it’s being done already: https://software.opensuse.org/package/ffmpeg
AFAIK all these packages are “crippled” to circumvent license issues.

I copied them (i.e., the configure flags) over to my ffmpeg package in the OBS (https://build.opensuse.org/package/show/home:fusion809:arch_extra:extra/ffmpeg). I Googled this question before I asked it and apparently it’s the --enable-nonfree configure option that makes it not GPL/LGPL-compatible in its license. I didn’t have that configure option in my original package, yet @Malcolmlewis told me to delete it because it was blacklisted… Not sure if that’s because he didn’t actually look at my configure options and just assumed I had passed that option, or whether I missed something… This was my PKGBUILD https://github.com/fusion809/PKGBUILDs/blob/d12a82fafeca125787c7d16b639a8c4248add31f/ffmpeg/PKGBUILD, if you, or Malcolm himself would like to clear this up for me.

This problem is particularly relevant as building with the build flags mentioned in that ffmpeg.spec file is failing. Apparently I need a dependency called libcelt in order to build FFmpeg with these configure flags. I cannot find libcelt in the AUR or Arch repos. So I’m kinda stuck. If it helps here (https://www.ffmpeg.org/legal.html) is where I found that the --enable-nonfree configure flag breaks FFmpeg’s compliance to the GPL/LGPL licenses.

On Thu 31 Mar 2016 07:46:03 AM CDT, fusion809 wrote:

I copied them (i.e., the configure flags) over to my ffmpeg package in
the OBS (http://tinyurl.com/he4e7ar). I Googled this question before I
asked it and apparently it’s the --enable-nonfree configure option
that makes it not GPL/LGPL-compatible in its license. I didn’t have that
configure option in my original package, yet Malcolmlewis told me to
delete it because it was blacklisted… Not sure if that’s because he
didn’t actually look at my configure options and just assumed I had
passed that option, or whether I missed something… This was my
PKGBUILD http://tinyurl.com/z9oogs6, if you, or Malcolm himself would
like to clear this up for me.

Hi
Have no idea, I see the --enable-gpl option, so assume that’s it, but
is that going to upset the rest of your builds that call ffmpeg libs?

I’m no lawyer but the openSUSE version from multimedia:libs
has been through the legal wringer for sure :wink:


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!