Hi,

On December 24, 2009 at 1:09 PM Luca Abeni wrote:

- If you configure ffmpeg as LGPL, you have to distribute the sources of the ffmpeg libraries and some binaries of your program which allow to build the final application (plus makefiles and/or build scripts, if
              ^^^^^^^^^^^^^^^^^^
needed).

I'm sorry for invasion into your discussion but I'd like to ask if I'm understanding LGPL correctly or not. AFAIU, "final application" in the quoted phrase means not a third-party application ("Application that uses the Library", according to LGPL 2.1), but just the LGPL'ed Library itself. For example, I'm writing a closed-source EXE which uses a DLL, built using the LGPL-ed code. In this case I must:
- Provide the source code for LGPL-ed stuff, which DLL uses;
- Provide the source code of the DLL itself, as it is also falls under LGPL;
- Declare in my application the fact, that it uses LGPL-ed stuff
- Provide a link to download the source code for DLL and the used stuff.

These four steps make it possible to rebuild the LGPL'ed DLL independently from the closed-sourced application. The application itself may be provided in the binary form only, because (and as long as) it does not include any portion of the LGPL-ed code.

GPL differs from LGPL, because it discuss not a "Library", but an "Application". Therefore GPL can't be applied to a DLL.

Just would like to ensure myself that I'm understanding LGPL correctly. Am not I?

Best regards,
Alexander

----- Original Message ----- From: "Luca Abeni" <[email protected]>
To: "Libav* user questions and discussions" <[email protected]>
Sent: Thursday, December 24, 2009 1:09 PM
Subject: Re: [libav-user] Building FFmpeg into single library


On 24/12/09 07:00, Glen Ruedinger wrote:
On Wed, Dec 23, 2009 at 3:59 PM, Luca Abeni<[email protected]>  wrote:

On 23/12/09 20:32, Eugene Mymrin wrote:

I'm building an application for Android which uses FFmpeg to decode
audio streams.
Android 1.5 has a problem which makes it impossible to load
third-party library with dependencies (1.6 and newer don't have this
problem). This means I can't use libavformat library because it needs
libavutil and libavcodec. Linking with FFmpeg statically could be a
solution but I can't do that because my application is neither GPL not
LGPL.

Note that linking statically or dynamically does not change anything
regarding the licensing issues...


Another option is to create single library containing
functionality of all three libraries - avutil, avcodec, avformat. So
my question is: is it legal to build single dynamic library, name it
FFmpeg and then use it in my application?

I do not know what you mean by "legal", but this is surely not a way to
address licensing issues.

He is not trying to address licensing issue, he is trying to get around
Android not allowing more than one library while staying legal, how hard is
that?

Linking dynamically vs statically, or building one library vs multiple libraries does not change anything from the legal point of view. For "staying legal", one simply has to comply with the ffmpeg license (which is the same, independently of the number of libraries and of the linking technology).
The "simple version" is:
- If you configure ffmpeg as GPL, you have to distribute all the sources (libraries and application) - If you configure ffmpeg as LGPL, you have to distribute the sources of the ffmpeg libraries and some binaries of your program which allow to build the final application (plus makefiles and/or build scripts, if needed).


Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to