ffmpeg构建输出没有显示?

5
最近我一直在处理Ffmpeg,但是无法得到任何有价值的输出。之后我按照以下教程进行了操作:
http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/
根据该教程,完成后应该能够在$NDK/sources/ffmpeg-2.0.1/android文件夹中找到arm/libarm/include文件夹。但是我没有在$NDK/sources/ffmpeg-2.0.1/android中获得构建输出。请帮忙解决这个问题。谢谢。

1
http://sourceforge.net/projects/ffmpeg4android 可能会有所帮助。 - rogerdpack
2个回答

2

0
在你的 build_android.sh 文件中,只需将 ./configure 命令行变成一个长字符串,而不是分开。每个选项之间的空格会干扰解析器。
#!/bin/bash
NDK=/home/hwlab/android-ndk-r9d
SYSROOT=$NDK/platforms/android-19/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
function build_one
{
    ./configure --prefix=$PREFIX --enable-shared --disable-static --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-doc --disable-symver --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- --target-os=linux --arch=arm --enable-cross-compile --sysroot=$SYSROOT --extra-cflags="-Os -fpic $ADDI_CFLAGS" --extra-ldflags="$ADDI_LDFLAGS" $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU 
ADDI_CFLAGS="-marm"
build_one

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接