Android的ffmpeg的:创建使用JNI图像的指令序列视频序列、指令、图像、视频

2023-09-05 01:07:14 作者:有你的那些年

我已经成功地建立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运行像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...

这混帐,的一个例子接口