wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.72k stars 387 forks source link

Implement proper timeUs = -1 behavior #224

Open 3c71 opened 4 years ago

3c71 commented 4 years ago

Please implement a nice algorithm to find the most representative frame. It works actually very well with stock Android version to avoid receiving a uni-color bitmap.

From Android documentation:

"This method finds a representative frame at any time position if possible, and returns it as a bitmap."

This will make this library 100% compatible with Android's provided one.