Android Open Source - OpenGL video FrameGrabber






Project Summary

An alternative solution to replace the getFrameAt method of Android MediaMetadataRetriever. FrameGrabber uses MediaCodec to decode video frame and use OpenGL to convert the video frame as RGB Bitmap. As Android MediaMetadataRetriever does not guarantee to return result when calling getFrameAtTime, this FrameGrabber can be used to extract video frame with frame accuracy..

Web Site / Source Repository

FrameGrabber is hosted in the following web site
https://github.com/kswlee/FrameGrabber

If you think the Android project FrameGrabber listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of FrameGrabber.

ItemValue
Java File Count7
Target SDK Version18
Minimum SDK Version17
Activity Count1
jar files usedandroid-support-v4.jar
android-support-v4.jar
Required Permissionsandroid.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Asset File Namesassets\frameCount.mp4




Java Source Files

FrameGrabber has the following Java source files.

com.tam.gl.GLHelper.java
com.tam.gl.GLUtil.java
com.tam.gltest.MainActivity.java
com.tam.media.FrameGrabber.java
com.tam.media.VideoDecoder.java
com.tam.utils.BitmapUtil.java