I have a SurfaceView and a MediaRecorder and I use to show and record a video. Now I want to access individual frames on this video in real time to do some processing with them. Can I get access to the frames via the MediaRecorder object? Or is there a listener that I have to add?
Asked
Active
Viewed 1,405 times
3
-
1Depending on what exactly you're trying to do, MediaCodec might be better suited. See e.g. http://bigflake.com/mediacodec/#CameraToMpegTest (requires Android 4.3). – fadden Jul 24 '13 at 23:56
-
1I have 4.0.4. I want to get each frame run a computer vision algorithm on each frame and show the results in real time. – Mohammad Moghimi Jul 25 '13 at 00:00
-
2Hey Mohammad, did you ever find the answer for this? – dangalg Dec 29 '14 at 19:25
-
have you got a solution to this question? – Ali Nov 13 '18 at 11:33