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

What is the reason of memory increasing. #270

Open tamanna-seg opened 1 year ago

tamanna-seg commented 1 year ago

When used FFmpegMediaMetadataRetriever.OPTION_CLOSEST_SYNC option for getting scaled frame native memory goes to 40-45 MB but when FFmpegMediaMetadataRetriever.OPTION_CLOSEST used this , memory goes to 160-180 MB.

wseemann commented 1 year ago

This is most likely because OPTION_CLOSEST has to do additional frame processing, which will use more resources.