views:

123

answers:

3

Hi,

I'm developing a commercial application and would like to include ffmpeg to extract thumbnails from videos. ffmpeg is licenced under LGPL 2.1. I would like to know how I can include ffmpeg in my software installer while meeting the requirements of LGPL 2.1. If it makes any difference I haven't modified the ffmpeg exe in any way. If anyone could offer any advice it would be much appreciated.

Thanks,

Rob

+5  A: 

Ask a lawyer. Don't believe any answer anyone gives you unless they are qualified to practice law in your country and you have paid them to give you the information you want.

tloach
I have consulted a IP lawyer already and I'm awaiting a response from him although he initially suggested that this would be problematic at best. just someone else has had to do this.
rt4278
The fact that others have done it doesn't make it legal. The fact that the GPL is reasonably easy to read doesn't mean that most of us can reconcile what parts of it may or may not be enforceable in our area of the world. Once you have paid a lawyer to give you an answer he has some interest in making certain his answer is the correct one, and may be somewhat liable if he is incorrect and you are found to be in violation of the license, depending on the laws of your country.
tloach
+1  A: 

The GPL licenses are very coherent and explain exactly what you need to do to comply.

You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.

If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.

For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.

However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.

So looks like you can include ffmpeg as long as it remains separate from your executable.

http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

Joe Koberg
That's not all it says. IIRC, it also has to be possible to relink the proprietary parts to the LGPL parts. Of course, if the LGPL code is in a DLL, that's easy.
David Thornley
+2  A: 

The bigger issue is, have you paid the MPEG Patent Holders to include the MPEG System implementation? This is why open source projects themselves decline to include ffmpeg (and often require you to compile/obtain it separately).

'if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.'

http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

Where software patentability is upheld, the use of MPEG-2 requires the payment of licensing fees to the patent holders. The patent pool is managed and administered by MPEG Licensing Authority, a private organization.

http://en.wikipedia.org/wiki/MPEG-2#Patent%5Fholders

Joe Koberg