gpt4 book ai didi

android - 为安卓编译FFMpeg

转载 作者:行者123 更新时间:2023-12-04 23:29:07 25 4
gpt4 key购买 nike

很多人都提到过为 android 编译 ffmpeg。但是我最近尝试了很多,但没有发现它们起作用。

这是我尝试过的。

https://github.com/guardianproject/android-ffmpeg-java

但在这我得到了以下错误。

/home/musil/Desktop/android-ndk-r10c-linux-x86_64/android-ndk-r10c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/musil/Desktop/android-ndk-r10c-linux-x86_64/android-ndk-r10c/platforms/android-3/arch-arm -I../x264 -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a8 -c -o /tmp/ffconf.6LOSva5W.o /tmp/ffconf.YWZ9ftQ8.c
arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
C compiler test failed.

比我尝试过的其他方式

http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/

但在那里我得到了以下错误。

但前缀 install 是 /usr/local/而不是 ./arm/并且arch是x86而不是arm。它编译但没有创建 arm 文件夹。

有谁知道如何为 ndk-r10c 编译 ffmpeg。

如果有人能指出我做错了什么或者我该如何构建 将非常有帮助ffmpeg 2.4.1 最新的ndk。

谢谢

最佳答案

我不确定您为什么会看到该错误。我能够成功编译 FFMpeg,您应该能够从此链接 https://github.com/android-native-libraries 获取所有架构的 .so 文件

关于android - 为安卓编译FFMpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26561273/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com