Android ffmpeg:使用jni从图像序列创建视频 [英] Android ffmpeg: create video from sequence of images using jni

查看:112
本文介绍了Android ffmpeg:使用jni从图像序列创建视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功地为Android构建了ffmpeg,现在我需要根据序列图像创建视频,因此它看起来像是带有一些默认音频的动画视频.我找到了一些解决方案,但都说使用类似的命令.

I have successfully build ffmpeg for Android and now I need to create video from sequence images so it look like animation video with some default audio. I have found some solution but it all says using command like.

如何在Android上使用jni做同样的事情?

How to do same thing using jni on Android?

推荐答案

尝试答案此处需要使用在CLI上运行的jni界面进行更多操作,例如此处

try the answer here requiring more chops with jni interfaces that running on CLI like here

您可能需要在JNI接口上做更多的阅读,特别是如何将'ffmpeg.main()'上的调用与JNI集成在一起.

You will probably need to do some more reading on the JNI interface and specifically how to integrate call on 'ffmpeg.main()' with the JNI.

一旦遇到问题,从照片和音频列表创建mp4就像在android/JNI中一样...

Once you have that down, creating mp4 from list of photos and audio is kind of like following in android/JNI...

来自git,是 查看全文

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