Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

decode order

andrasjpeg
Beginner
391 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
391 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
0 Kudos
andrasjpeg
Beginner
391 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.

0 Kudos
Reply