↧
Answer by Peter for Get current frame from android mediaplayer
I assume you mean the frame bitmap, not the index of the frame.If so, you can render it to a TextureView, hide the TextureView, and then call TextureView.getBitmap().Here's some Kotlin code to that...
View ArticleAnswer by Matthew for Get current frame from android mediaplayer
This is a pretty heavy undertaking, involving Android NDK development using something like ffmpeg and glbuffer. You could also bypass OpenGL and just write the ffmpeg-decoded frame to a bitmap in...
View ArticleAnswer by nvloff for Get current frame from android mediaplayer
No. The media player just setups a pipeline that is handled by lower level components. And depending on the hardware platform and the decoder setup the rendering is done in different places.
View ArticleGet current frame from android mediaplayer
Is there a way to retrieve the current frame played from android MediaPlayer object?
View Article