[FFmpeg-user] How to resolve “ERROR: libx264 not found”?
David Varghese
davidvrgh at gmail.com
Fri Aug 1 14:44:40 CEST 2014
Thanks for the reply .
I tried with static builds for libx264 . I edited the build script for
libx264 and added options --enable -static , --disable -shared . After
running the script I got libx264.a at /usr/local/lib x264(executable file)
at /usr/local/bin and x_264.h and x_264_config.h at /usr/local/include .
I modified my ffmpeg script by adding --extra-cflags='-I/usr/local/'
--extra-ldflags='-I/usr/local/x264 -L/usr/local/ -ldl' .
But still I'm getting the error .
On Fri, Aug 1, 2014 at 5:16 PM, Reindl Harald <h.reindl at thelounge.net>
wrote:
>
> Am 01.08.2014 um 13:37 schrieb David Varghese:
> > I needed to install ffmpeg with libx264 support for enabling H.264
> encoding
> > . I installed libx264 successfully using the below script with toolchains
> > available in android-ndk-r9d .
> >
> > Now I wanted to build ffmpeg with libx264 support . I used the below
> > script with --enable-libx264 , --enable-nonfree , --enable-gpl options
> > as in the below script .
> >
> > But when I run the script I'm getting error "ERROR: libx264 not found" .
> >
> > I suppose ffmpeg is not able to figure out the installed location of
> > libx264 . After libx264 installation I have libx264.so file in
> > /usr/local/lib executable at /usr/local/bin and header files at
> > /usr/local/include directories .
> >
> > What all changes do I need to make to the ffmpeg build script in-order to
> > make it detect libx264?
>
> i build x264 a static lib below /usr/local/x264 and while
> the rest of my ffmpeg-build is using shared libraries from
> the default --prefix=/usr those below let the build find
> my static x264
>
> --extra-cflags='-I/usr/local/x264'
> --extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl'
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
--
Thanks and Regards ,
David Varghese
More information about the ffmpeg-user
mailing list