When I get video thumbnails, I need to use [getFrameAtTime(long timeUs, int option);] But I found that when I used [B = BitmapFactory. decodeByteArray (picture, 0, picture. length, bitmap Options Cache); ]oom was triggered. I read a lot of information that [decodeByteArray] is very easy to trigger oom. When I wanted to inherit this class and rewrite this method, I found that the [_getFrameAtTime ()] method was private. I didn't know the logic in this method and I didn't know how to change it. I hope you can help me.
I apologize. My English is not very good. Please forgive me. I'll wait for your news.
When I get video thumbnails, I need to use [getFrameAtTime(long timeUs, int option);] But I found that when I used [B = BitmapFactory. decodeByteArray (picture, 0, picture. length, bitmap Options Cache); ]oom was triggered. I read a lot of information that [decodeByteArray] is very easy to trigger oom. When I wanted to inherit this class and rewrite this method, I found that the [_getFrameAtTime ()] method was private. I didn't know the logic in this method and I didn't know how to change it. I hope you can help me. I apologize. My English is not very good. Please forgive me. I'll wait for your news.