Get Current Frame From Android Mediaplayer
Is there a way to retrieve the current frame played from android MediaPlayer object?
Solution 1:
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.
Solution 2:
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 memory.
For getting video thumbnails, there is always ThumbnailUtils.
Post a Comment for "Get Current Frame From Android Mediaplayer"