Android的ffmpeg的:创建使用JNI图像的指令序列视频 [英] Android ffmpeg: create video from sequnce of images using jni

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

问题描述

我已经成功地建立ffmpeg的Andr​​oid和现在我需要创建图像序列的视频所以它看起来像动画视频用一些默认audio.I已经找到了一些解决方案,但它表示,所有使用命令等。

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,那么请让我知道做同样的事情。

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

在此先感谢。

推荐答案

试着回答这里需要更多的印章与CLI运行像<一个的JNI接口href="http://stackoverflow.com/questions/12472242/using-ffmpeg-via-command-line-in-android">here

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...

这混帐,的一个例子<一href="https://github.com/halfninja/android-ffmpeg-x264/blob/master/Project/src/uk/co/halfninja/videokit/Videokit.java"相对=nofollow>接口

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

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