dxjia / ffmpeg-compile-shared-library-for-android Goto Github PK
View Code? Open in Web Editor NEW移植ffmpeg到android,编译可用于jni调用的so库.
License: GNU Lesser General Public License v2.1
移植ffmpeg到android,编译可用于jni调用的so库.
License: GNU Lesser General Public License v2.1
你好,请问一下 configure 配置最后面的参数
--extra-ldflags="$ADDI_LDFLAGS"
$ADDITIONAL_CONFIGURE_FLAG
这两个是在哪里定义的呢?
root@ubuntu:/home/wangzhong/ndkwork/ffmpeg-compile-shared-library-for-android-master/source/ffmpeg# ./build_android_arm.sh
/home/djia/android/android-ndk-r10/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
Makefile:2: config.mak: No such file or directory
Makefile:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
Makefile:2: config.mak: No such file or directory
Makefile:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
root@ubuntu:/home/wangzhong/ndkwork/ffmpeg-compile-shared-library-for-android-master/source/ffmpeg#
由于想ffmpeg支持h.264,请问是否在build 文件里加入相关参数,具体是???
SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}
SLIB_CREATE_DEF_CMD=${SLIB_CREATE_DEF_CMD}
SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}
SLIB_INSTALL_NAME=${SLIB_INSTALL_NAME}
SLIB_INSTALL_LINKS=${SLIB_INSTALL_LINKS}
@dxjia 能不能加下qq 多交流一下如何编译ffmpeg呢
我是在Ubuntu 16.04下编译,NDK为“android-ndk-r12b”,FFmpeg的版本为 3.1.3,按照您提供的“build_android_x86”脚本去编译,结果报错:/home/zhuo/android-ndk-r12b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: libavutil/../compat/strtod.o: incompatible target
请问该如何解决。
#include <libavcodec/avcodec.h> 存在这个方法
为什么还是报错
Error:(32) undefined reference to `av_register_all'?
我跟了下脚本发现configure 是通过pkg-config 寻找库的头文件和路径的,但在ndk下没有arm-linux-androideabi-pkg-config,所有会有这样的警告/arm-linux-androideabi-pkg-config not found, library detection may fail,所以--enable-libspeex失败了,无法支持speex
使用你github上的ffmpeg源码编译没有问题,说明我的环境应该是没有问题的,但是自己在官网下载的源码总是有各种各样的问题,除了configure还有其他文件需要处理么?
你编译的这个so库 应该是官方默认的?
我调用合字幕的指令 操作失败的,
应该是缺少libass 如果要新增额外的 如libass 库 应该如何操作呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.