Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

decode order

andrasjpeg
Beginner
173 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
173 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
173 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