MediaMetadataRetriever.getFrameAtTime() returns only first frame

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.

Leave a Comment