Android ffmpeg: create video from sequence of imag

2019-01-26 01:40发布

问题:

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.

How to do same thing using jni on Android?

回答1:

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