2

I am trying to get the last frame from a video as a bitmap in good quality. I am now using MediaMetadataRetriever with the method getFrameAtTime, but the picture quality is very poor - see a similar post here.

I tried to use this method here:

https://bigflake.com/mediacodec/#ExtractMpegFramesTest but I cannot get it to work, the frames are all just horizontal lines

Also, another library that is very interesting: https://github.com/wseemann/FFmpegMediaMetadataRetriever This one can get very good quality images from frames, but it only has at-second precision (for example if I try to get the last frame or a frame at 2300ms, it only shows corrupted image)

Are there any other options?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Andrei F
  • 4,205
  • 9
  • 35
  • 66

0 Answers0