如何配置FFmpeg库与ndk r12使用Windows 7 64位操作系统为android [英] How to configure FFmpeg library with ndk r12 using windows 7 64 bit operating system for android

查看:474
本文介绍了如何配置FFmpeg库与ndk r12使用Windows 7 64位操作系统为android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想合并mp3音频文件与surfaceview录制的视频在后台。所以经过大量的研究,我得到FFmpeg概念,实现这种功能。但我不知道如何配置Ffmpeg库与ndk在android studio使用windows 7 64位操作系统。所以如果任何人可以有它的知识,所以请与我分享。先谢谢。



解决方案

步骤1.安装Cygwin64 (您必须安装dos2unix)



步骤2.安装android-ndk (当前版本为r12b)



步骤3.安装ffmpeg (当前版本3.1.1) b

步骤4.在android-ndk路径中提取ffmpeg-3.1.1 (ret:d:\Android\\\
dk\android-ndk-r12b / ffmpeg-3.1.1)



步骤5.执行Cygwin64 (具有管理员权限) >步骤6.按照 http:/ /www.roman10.net/2013/08/18/how-to-build-ffmpeg-with-ndk-r9/ 此网页的步骤2& 3 (您需要编辑build_android.sh)



步骤7.您可以看到



在此输入图片说明


I want to merge mp3 audio file with surfaceview recorded video in background. So after lots of research i get FFmpeg concept for achieving this kind of functionality. But i am not know how to configure Ffmpeg library with ndk in android studio using windows 7 64 bit os. So if any one can have knowledge about it so please share with me. Thank you in advance.

解决方案

step 1. Install Cygwin64 (you must be install dos2unix)

step 2. Install android-ndk (current version r12b)

step 3. Install ffmpeg (current version 3.1.1)

step 4. Extract ffmpeg-3.1.1 in android-ndk path (ret: d:\Android\ndk\android-ndk-r12b/ffmpeg-3.1.1)

step 5. Execute Cygwin64 (with Admin rights)

step 6. Follow http://www.roman10.net/2013/08/18/how-to-build-ffmpeg-with-ndk-r9/ this page's step 2 & 3 (you need to edit build_android.sh)

step 7. You can see that

enter image description here

这篇关于如何配置FFmpeg库与ndk r12使用Windows 7 64位操作系统为android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆