Recently, I want to develop an android app, I've developed a MediaPlayer to play video ,when the video playing,I want to get the image data of each frame, and do some processing, and then rendering to the screen.Does anybody have suggestions?Thank you in advice!
Asked
Active
Viewed 726 times
0
-
I have some situation. Did you have any solution, could you share it ? – DreamInBox Aug 20 '18 at 04:31
1 Answers
0
I am not sure about your android version. From Android JellyBean 4.2.0
onwards, there is a new component introduced as CPUConsumer
(Reference: 4.2_r1 Sources) which can enable a host program to access an underlying gralloc
frame.
Some examples to test this functionality is also available in android at here.

Ganesh
- 5,880
- 2
- 36
- 54