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

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

问题描述

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



如果有人知道如何在Android上使用jni做同样的事情,请让我知道。



感谢Advance。

解决方案

尝试答案这里需要更多的chops与CLI上运行的jni接口,如这里



您可能需要在JNI界面上进一步阅读,特别是如何将'ffmpeg.main()'上的调用与JNI。



一旦你这样做,从照片和音频列表创建mp4就像在android / JNI中的以下一样...


$来自git的b $ b

界面


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.

If anyone know how to do same thing using jni on Android then please let me know.

Thanks in Advance.

解决方案

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

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.

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

from git, an example of the interface

这篇关于Android ffmpeg:使用jni从sequnce的图像创建视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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