guohai / and-ffmpeg

[Android]FFmpeg Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http://www.roman10.net/how-to-build-ffmpeg-for-android/

http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/

http://abitno.me/compile-ffmpeg-android-ndk

http://shaobin0604.iteye.com/blog/1181820

http://yueguc.iteye.com/blog/856638

http://wenku.baidu.com/view/791dcd2bbd64783e09122bc4.html

移植ffmpeg到安卓平台记录(动态库)http://zzhhui.i.sohu.com/blog/view/244819499.htm




building with NDK

1. modify and run config.sh
modify the NDK variable based on yours
NDK=/home/guohai/dev/a/android-ndk-r7
PLATFORM=$NDK/platforms/android-14/arch-arm/
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86

2. modify and-ffmpeg/jni/ffmpeg/config.h
diff /s4k3j/config.h /config.h
-#define restrict restrict
+#define restrict

3. delete static methods under and-ffmpeg/jni/ffmpeg/libavutil/libm.h

4. execute ndk-build

About

[Android]FFmpeg Demo


Languages

Language:C 95.9%Language:Assembly 2.8%Language:Objective-C 0.6%Language:C++ 0.5%Language:Shell 0.2%Language:Perl 0.1%Language:Verilog 0.0%Language:Java 0.0%