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'
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
