Community
cancel
Showing results for 
Search instead for 
Did you mean: 
andrasjpeg
Beginner
42 Views

decode order

DecodeFrameAsync returns frames in display order. This means, that when I have B frames in the GOP, the P frame won't be returned (even though it has already been decoded), until after the B frames.

I would like to get the frames as soon as they are decoded! I can handle the reordering myself. Is there any way to achieve this?

Thanks,

 

Andras

0 Kudos
2 Replies
Tamer_Assad
Innovator
42 Views

Hi Andras, Decoded frames are YUV frames, P frames memory presence as reference frames, I think it has not been decoded already prior to its actual sequence, only providing info as reference. You might want to locate the next key frame, following the media seek approach, and process it as well. Best regards, Tamer
andrasjpeg
Beginner
42 Views

I'm not sure what YUV or the next key frame has anything to do with what I asked.

All I want is for the decoded frames to come out in the order they are decoded, and not in display order.