Extract/modify video frames on Android
问题 I have a video file. I want to get each frame of the video and do some modifications to the frame, such as drawing another bitmap in that, putting some text etc. Is there any API/framework available to get frames from video in Android? I've done something similar in iOS using their AVFramework. If it is possible with ffmpeg, I will use some of the opensource NDKs available. 回答1: Option A: You can create a SurfaceTexture object and attach this to the MediaPlayer as follows myPlayer = new