Skip to content

weimingtom/ffmpeg_win32_ndk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg_win32_ndk

ffmpeg win32 ndk build tool and test projects

(1) Build Tools

(2) Build Environment variables (edit manually):

  • ffmpeg\1.2.4\002_unzip_ffmpeg_src_and_patch.bat
  • ffmpeg\1.2.4\003_android_sdk_ndk_env.bat
  • projects\VideoProject\002_android_sdk_ndk_env.bat
  • test\001_android_sdk_ndk_env.bat

(3) Build APK

  • Build JNI code
    see ffmpeg\1.2.4\003_android_sdk_ndk_env.bat
  • Build Java code and APK
    see projects\VideoProject\002_android_sdk_ndk_env.bat

(4) Test

  • Copy test video file to device
    see test\001_android_sdk_ndk_env.bat
    see ffmpeg\1.2.4\jni\native.c
  • Run VideoDemo App

(5) Prebuild:

  • see script\ffmpeg-1.2.4.7_build_noasm_mini
  • I use ossbuild msys (MinGW) to execute build-config.sh

(6) References:

(7) Problems:

  • I use SYSROOT_INC in Android.mk to pass compiling libavutil/parseutils.c (because of the file time.h in the same directory)
  • No asm and optimization, ONLY FOR ffmpeg study on Android
  • You can use msys_v11 (see folder msys_v11/) to configure ffmpeg under Windows XP (please unpack it with 7zip first). Msys_v11 is downloaded from google code.

(8) LICENSE:

  • see ffmpeg source (ffmpeg\1.2.4\ffmpeg-1.2.4.tar.gz)

About

ffmpeg win32 ndk build tool and test projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published