简体   繁体   中英

How to build and use ffmpeg libraries in Android project in Mac OS 10.9?

In my Android project I have to create a video from some pictures. So I want to use FFmpeg libraries for it. I read many links about it (For example: http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/comment-page-4/ ) I tried to build FFmpeg in my computer (MAC OS 10.9) but every advice didn't work. Did anybody build and use FFmpeg in Adroid project (MAC OS) successfully? Can anybody give me some advices? Sorry for my English!

For building ffmpeg for Android see the following answer: Compiling FFmpeg lib and add it to NDK sources on Windows8

You can link to it in your project by adding what's written here in your Android.mk for each of the libraries you need from ffmpeg:

libavcodec.so
libavfilter.so
libavformat.so
libavutil.so
libswresample.so
libswscale.so

Also see this blog post: How to Build ffmpeg with NDK r9 which gives hands-on details on how to do it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM