MediaMetadataRetriever
‘s getFrameAt
method takes in microseconds (1/1000000th of a second) instead of milliseconds, so in your case it is always rounding down to the 1st frame.
More Related Contents:
- Save bitmap to location
- How to save a bitmap on internal storage
- Android how to save a bitmap – buggy code
- WebView and HTML5
- Strange OutOfMemory issue while loading an image to a Bitmap object
- Android: Bitmaps loaded from gallery are rotated in ImageView
- YouTube Video not playing in WebView – Android
- How to downsample images correctly?
- How to draw text On image?
- Android Saving created bitmap to directory on sd card
- Android: How to rotate a bitmap on a center point
- Android intent for playing video?
- How to resize image (Bitmap) to a given size? [duplicate]
- playback video full screen
- Android, move bitmap along a path?
- Applying Effects on Video being Played
- Bitmap, Bitmap.recycle(), WeakReferences, and Garbage Collection
- Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
- Android sdk cut/trim video file
- java.lang.OutOfMemoryError – BitmapFactory.decode(strPath)
- How to set an imageView’s image from a string?
- Scaled Bitmap maintaining aspect ratio
- Using drawable resources
- Finding the dominant color of an image in an Android @drawable
- How does Bitmap allocation work on Oreo, and how to investigate their memory?
- How to encode Bitmaps into a video using MediaCodec?
- How to get thumbnail for video in my /sdcard/Android/data/mypackage/files folder?
- Android – Reduce image file size
- Resize Drawable in Android
- Android-Video View in Fullscreen