Question regarding ffmpeg and codec disabling...
R. Douglas Barbieri wrote:
I need to make a build of the ffmpeg API libraries (libavcodec and libavformat) which have the MPEG2 codecs remarked out, so we aren't shipping a product that can encode/decode MPEG2 streams. I don't see any "disable" switches in the configure script, so I am assuming I need to do this by hand. Has anyone on the list had to do this and if so, what approach did you take?
If you ship a product in such a way that it is not possible to replace the ffmpeg libraries by another version of them, particularly if you use static linking, you're in violation of the LGPL. So, you could disable MPEG2 by hand simply by removing the corresponding call to av_register_codec, but there is no point to that, because you cant do it legally and make it stick. HaND, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41
On Mon, Apr 11, 2005 at 03:16:40PM +0200, Michel Bardiaux wrote:
R. Douglas Barbieri wrote:
I need to make a build of the ffmpeg API libraries (libavcodec and libavformat) which have the MPEG2 codecs remarked out, so we aren't shipping a product that can encode/decode MPEG2 streams. I don't see any "disable" switches in the configure script, so I am assuming I need to do this by hand. Has anyone on the list had to do this and if so, what approach did you take?
If you ship a product in such a way that it is not possible to replace the ffmpeg libraries by another version of them, particularly if you use static linking,
static linking is perfectly ok with the lgpl as long as they include object modules for their proprietary code. :)) rich
D Richard Felker III wrote:
On Mon, Apr 11, 2005 at 03:16:40PM +0200, Michel Bardiaux wrote:
R. Douglas Barbieri wrote:
I need to make a build of the ffmpeg API libraries (libavcodec and libavformat) which have the MPEG2 codecs remarked out, so we aren't shipping a product that can encode/decode MPEG2 streams. I don't see any "disable" switches in the configure script, so I am assuming I need to do this by hand. Has anyone on the list had to do this and if so, what approach did you take?
If you ship a product in such a way that it is not possible to replace the ffmpeg libraries by another version of them, particularly if you use static linking,
static linking is perfectly ok with the lgpl as long as they include object modules for their proprietary code. :))
OK, I put my foot in it on that, but it does not invalidate my point: there is no legal way to cripple the ffmpeg libraries and make it stick. (Or rather, the only way I see is: a proprietary, embedded platform with a proprietary development system that compiles only source code signed by, and links and loads only binaries signed by, guess who. I was about to write it sounds contorted, but actually it might be the future...)
rich
-- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41
On Mon, Apr 11, 2005 at 04:44:28PM +0200, Michel Bardiaux wrote:
D Richard Felker III wrote:
On Mon, Apr 11, 2005 at 03:16:40PM +0200, Michel Bardiaux wrote:
R. Douglas Barbieri wrote:
I need to make a build of the ffmpeg API libraries (libavcodec and libavformat) which have the MPEG2 codecs remarked out, so we aren't shipping a product that can encode/decode MPEG2 streams. I don't see any "disable" switches in the configure script, so I am assuming I need to do this by hand. Has anyone on the list had to do this and if so, what approach did you take?
If you ship a product in such a way that it is not possible to replace the ffmpeg libraries by another version of them, particularly if you use static linking,
static linking is perfectly ok with the lgpl as long as they include object modules for their proprietary code. :))
OK, I put my foot in it on that, but it does not invalidate my point: there is no legal way to cripple the ffmpeg libraries and make it stick.
agreed.
(Or rather, the only way I see is: a proprietary, embedded platform with a proprietary development system that compiles only source code signed by, and links and loads only binaries signed by, guess who. I was about to write it sounds contorted, but actually it might be the future...)
nope, this isn't possible either. it also violates lgpl. rich
participants (2)
-
dalias@aerifal.cx -
mbardiaux@peaktime.be