How to get video frames from mp4 video using ffmpe

2019-08-08 18:40发布

I have successfully compiled and build ffmpeg library in android after 3,4 days research work.
Now I want to grab frames from video. But I don't know which ffmpeg method with command to be called from java class to grab the all frames. Any one have idea about it? or I want to overlay 2 videos. Is there any direct method available in ffmpeg to merge two videos one over another? If yes, how to call it from java class?

1条回答
Luminary・发光体
2楼-- · 2019-08-08 19:11

compile ffmpeg.c and invoke its main() via jni.

For more details see how to Use FFMPEG on Android .

Also refer this github project. And this tutorial too will help you.

I hope this will help you.

查看更多
登录 后发表回答