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

getScaleFrameAtTime consume too much time #249

Closed purple7826 closed 1 year ago

purple7826 commented 2 years ago

Thank you for author provider this project , it works fine.Here is some problem occur to me ,hope you can resolve later.

  1. if i use 3840x2160 video and get it frame by getScaleFrameAtTime , it almost take 20s , but if i set small width and height , it will reduce to 10s.
  2. OOM issue , iit didn't happen , however i execute this code in ui thread or in child thread , the execute time is same at all.

I have resolve my problem , tks.