Hagen Brooks

Results 95 comments of Hagen Brooks

@Thamizhan If you implemented it correctly, then there is only 2 things that can case this. You provided an incorrect time stamp or there is no frame available at that...

Why would you want to pass a negative time stamp. AFAIK time starts at 0. It doesn't make sence, at all, passing a negative value.

I just can't think why you would want to do that? Also, you mentioned - `This is only occurring with media where Android's MediaMetadataRetriever would fail to retrieve a frame.`...

Ok, that makes more sense. When you say - `for some video where Android's MediaMetadataRetriever fails will return an all black bitmap.` do you mean that you first run `MediaMetadataRetriever`...

Ok but if `MediaMetadataRetriever` and `FFmpegmediaMetadataRetriever` fails with the same file then the issue is not with `FFmpegmediaMetadataRetriever`?

You also mentioned - `However I still think this is a valid issue because regardless it shouldn't be returning a black bitmap if it wants to be one-to-one with the...

This is confusing....... `MediaMetadataRetriever` fails but `FFmpegMediaMetadataRetriever` should be successful?

I think it could be that you're not waiting for the process to finish before releasing it and starting it again. Use an `AsyncTask` then in `onPostExecute` release `FFmpegMediaMetadataRetriever` then...

Your problem is here: ```java for(int i=0;i

You should use it each time the data source changes within the same Activity. You will have to initialize `FFmpegMediaMetadataRetriever` in each Activity. You can use a different class that...