[FFmpeg-user] Legal way to compile FFmpeg with libx264

Patrick Sculley Info at PixelFlow.com
Sat May 17 20:13:39 CEST 2014

Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> Igor <beautyofnorth <at> gmail.com> writes:
> > But how to compile FFmpeg with libx264 to keep FFmpeg 
> > under LGPL?
> You have to patch your local FFmpeg checkout accordingly.
> (From our point of view, x264 is GPL, so we require you 
> to enable GPL if you compile with x264 support. If you 
> know that the x264 library you link FFmpeg against is 
> not GPL, you have to change FFmpeg locally. Make sure not 
> to link against any GPL code, it is not compatible with 
> your version of x264.)
> Carl Eugen


This is very helpful.

So what do you need to change on your local FFmpeg 
code/compilation process to compile FFmpeg 
w/ x264 and LGPL? 


More information about the ffmpeg-user mailing list