[FFmpeg-user] Difficulties to compile with x264 on custom non-standard location.

Víctor Paesa victorpaesa at googlemail.com
Thu Jul 14 19:40:10 CEST 2011


Hi,

On Thu, Jul 14, 2011 at 09:46, Luis Suzuki wrote:
>
> ffmpeg 0.8 needs a recent x264 version to compile,I have Ubuntu 10.04 which does not qualify,and it would be a dependency nightmare updating the necessary packages.So,I compiled the most recent x264 but I need to pass to ffmpeg configure script the customized location,eventually other parameters,and need it to ignore the system's x264 libraries.Is there anybody who knows how to do that?Anybody who has done something equivalent?ffmpeg configure script does not seem tho show any options to do that.

Ahem, configure does have those options. Try using something like this:

--extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include

Regards,
Víctor


More information about the ffmpeg-user mailing list