![]() ![]() extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS -I/usr/local/include" \ nm=$PREBUILT/bin/arm-linux-androideabi-nm \ cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \ ![]() cc=$PREBUILT/bin/arm-linux-androideabi-gcc \ PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86 PLATFORM=$NDK/platforms/android-8/arch-arm/ The script I am using is: NDK=~/Desktop/android-ndk-r7 Ie./configure -enable-gpl -enable-libx264 -extra-cflags="-I/usr/local/include" -extra-ldflags="-L/usr/local/lib" -enable-static -enable-shared ![]() If I build FFmpeg with the simplest commands to include libx264 then it works. Some forums say enable this, others say no disable that. ![]() enable-shared, -enable-static, -disable-pthreads etc. I have tried building x264 with many different options that other people on the internet have said that i need. -extra-cflags = " -I/usr/local/include ".I understand that FFMPEG looks for the header and libraries in usr/lib and usr/include, so in order to make it find x264 I use the cflags and ldflags: I have the latest versions of both FFMPEG and x264. "/usr/local/lib/libx264.a: could not read symbols: Archive has no When trying to build FFMPEG I get an error: I am using this tutorial to build FFmpeg for Android I can successfully build and use FFMPEG for Android but I realized that I need the ability to encode, therefore I am trying to build FFMPEG with x264. I am trying to build FFMPEG with libx264 for Android. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |