How to get video frames from mp4 video using ffmpeg in android?

我的梦境 提交于 2019-12-13 18:00:21

问题


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:


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.



来源:https://stackoverflow.com/questions/16890072/how-to-get-video-frames-from-mp4-video-using-ffmpeg-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!