[FFmpeg-user] ffmpeg + x264 - HELP!

qw_222 qw_222 at 163.com
Tue Feb 7 08:26:39 CET 2012


 Hi,
My situation is:
libx264.a can be generated successfully.

config.sh:
export ARM_ROOT=/home/lerboo/android-ndk-r5
export ARM_INC=$ARM_ROOT/platforms/android-8/arch-arm/usr/include/
export ARM_LIB=$ARM_ROOT/platforms/android-8/arch-arm/usr/lib/
export ARM_TOOL=$ARM_ROOT/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86
export ARM_LIBO=$ARM_TOOL/lib/gcc/arm-eabi/4.4.0
export PATH=$ARM_TOOL/bin:$PATH
export ARM_PRE=$ARM_TOOL/bin/arm-eabi

./configure --prefix=/home/lerboo/android-ndk-r5/arm_and \
--disable-gpac \
--disable-shared \
--extra-cflags="-I$ARM_INC -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -MMD -MP " \
--extra-ldflags="-nostdlib -Bdynamic -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,nocopyreloc -Wl,-soname,/system/lib/libz.so -Wl,-rpath-link=$ARM_LIB,-dynamic-linker=/system/bin/linker -L$ARM_LIB -nostdlib $ARM_LIB/crtbegin_dynamic.o $ARM_LIB/crtend_android.o -lc -lm -ldl -lgcc" \
--cross-prefix=${ARM_PRE}- --disable-asm --host=arm-linux \

-----------------------------
but when I cd to ffmpeg, configure a config.sh with --enable-libx264 and run the script: the console says: ERROR: libx264 not found.

Does have idea to this?? Thank you.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120207/69cca36a/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-config_r5.sh
Type: application/x-sh
Size: 1553 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120207/69cca36a/attachment.sh>


More information about the ffmpeg-user mailing list