<p dir="ltr">On Nov 1, 2013 8:23 PM, "sirvo" <<a href="mailto:sylviojalves@gmail.com">sylviojalves@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> As far as I understood, building FFmpeg not enabling --enable-gpl or<br>
> nonfree, FFmpeg will still be LGPL, correct? (and also not using some non<br>
> LGPL libraries)<br>
><br>
> What happens if a use the option --enable-libstagefrigh-h264?<br>
> Looking close, FFmpeg's libstagefright option uses some AOSP headers, which<br>
> are under APACHE license, and also some AOSP .so dependencies like<br>
> libstagefright.so, libmedia.so (...) to match the linking.<br>
><br>
> Does it still keep being LGPL? How to analyze that?<br>
> Is it possible to build FFmpeg with stagefright without linking to that .so<br>
> libraries?<br>
><br>
> Thanks in advance.</p>
<p dir="ltr">Common understanding is that it's OK to use Apache-licensed components in LGPL, see e.g. <a href="https://community.jboss.org/thread/149779?_sscc=t">https://community.jboss.org/thread/149779?_sscc=t</a></p>

<p dir="ltr">Note that ffmpeg does not include libstagefright.so, libmedia.so, and their ilk. The AOSP libraries are only used to instruct the linker to set some references, and even these are not technically necessary (VLC chose a different approach, I don't think it's any "cleaner").</p>

<p dir="ltr">BR<br>
Alex Cohn</p>