Opened 10 years ago

Last modified 7 months ago

#46700 assigned enhancement

ffmpeg: add openssl variant

Reported by: eirnym (Eir Nym) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

ffmpeg can be linked with GnuTLS and OpenSSL libraries. this path add this variant.

Attachments (1)

ffmpeg.Portfile.diff (1.6 KB) - added by eirnym (Eir Nym) 10 years ago.
Require nonfree variant for openssl

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by eirnym (Eir Nym)

Same patch can be applied to ffmpeg-devel. I'll fill another ticket if you need this.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: devans@… openmaintainer removed
Owner: changed from macports-tickets@… to devans@…

Please do not Cc openmaintainer because it is not a valid email address.

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Status: newassigned

comment:4 Changed 10 years ago by dbevans (David B. Evans)

I'm not sure why you want to do this. OpenSSL is considered a second choice for a couple of features due to its (nonfree) license restrictions. Because of this any +openssl variant would require the +nonfree variant as well (enforced in ffmpeg's configure).

Features involved are

  • tls protocol -- ffmpeg can use either gnutls or openssl for this, currently configured using gnutls.
  • rtmpe protocol -- ffmpeg has two versions of this, one using openssl (ffrtmpcrypt) and one using librtmp (rtmp*). Currently the openssl version is disabled and the librtmp version can be activated using existing variant +librtmp.

So I don't see that using openssl would add any functionality and it definitely adds licensing restrictions that do not come into play if gnutls and librtmp are used instead.

But maybe I'm wrong. What advantage do you see?

comment:5 Changed 10 years ago by eirnym (Eir Nym)

The rtmpdump depends on OpenSSL with GPL-2+ licence, so linking with OpenSSL doesn't add any restrictions for ffmpeg itself.

I know people who want licence purity on their systems and they don't want OS on their computers like Mac OS X or *BSD.

I don't want to build anything which duplicates functionality if it possible: I don't like GnuTLS when it possible to replace it with OpenSSL, I don't like build SVN client if I we don't need to link with SVN libraries, etc.

comment:6 in reply to:  5 Changed 10 years ago by dbevans (David B. Evans)

Resolution: wontfix
Status: assignedclosed

Replying to eirnym@…:

The rtmpdump depends on OpenSSL with GPL-2+ licence, so linking with OpenSSL doesn't add any restrictions for ffmpeg itself.

The ffmpeg developers don't agree with you: they consider OpenSSL to have a nonfree license. This is reflected in their configuration file.

enabled gpl && die_license_disabled_gpl nonfree openssl

which causes configure to die with the following message if --enable-openssl is asserted without --enable-nonfree.

openssl is incompatible with the gpl and --enable-free is not specified.

MacPorts generally agrees with this unless a specific exception has been granted by OpenSSL and refuses to distribute binary archives of ports if GPL is combined with OpenSSL.

I know people who want licence purity on their systems and they don't want OS on their computers like Mac OS X or *BSD.

Since most of ffmpeg is GPL licensed, adding OpenSSL decreases license purity rather than increasing it. The ffmpeg port supports Darwin which may or may not include Mac OS X.

I don't want to build anything which duplicates functionality if it possible: I don't like GnuTLS when it possible to replace it with OpenSSL, I don't like build SVN client if I we don't need to link with SVN libraries, etc.

In this case, MacPorts, as it stands, probably doesn't meet your expectations but you are welcome to modify ports as you like for your own use.

I'm going to pass on this request for the reasons stated above: for ffmpeg, as a whole, openssl complicates rather than simplifies licensing issues and adds no additional functionality over gnutls and librtmp.

comment:7 Changed 10 years ago by eirnym (Eir Nym)

Resolution: wontfix
Status: closedreopened

Sorry for some delay, but I've found some information about licences. To have less conflicts I also updated patch to require nonfree variant.

You can read following pages:

Changed 10 years ago by eirnym (Eir Nym)

Attachment: ffmpeg.Portfile.diff added

Require nonfree variant for openssl

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to jeremyhu
Status: reopenedassigned

Reassign ffmpeg-related tickets to Jeremy

comment:9 Changed 7 months ago by eirnym (Eir Nym)

is there any chance to accept it?

Note: See TracTickets for help on using tickets.