Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

decode order

andrasjpeg
Beginner
250 Views

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
250 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
250 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.

Reply