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.

H264 Decoded frames order

sverdlov__andrey
258 Views

Hello

I have an issue with H264 output frames PTS. The input is a packets with PTS and DTS. In case PTS and/or DTS is available, I set the TimeStamp and DecodeTimeStamp values. But the output packets are not in the PTS increasing order. For example: 40, 80, 120, 160, 320, 240, 360, 280(milliseconds). The DecodeOrder field is set to 0(I tried to set it to 1, but the disordering becomes even worse) and the MaxDecFrameBuffering is also set to 0. What could cause this kind of issue ?

[Update] I've found out the output frames are in PTS increasing order. But the TimeStamp of the output surface is wrong. What is the correct logic to get valid output frames PTS value ?

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
258 Views

Hi Andrey,

I am apologized for late response, my understanding is, you are using sample_decode.exe in Windows and expected output frames are in PTS order with the correct timestamp.

If you can reproduce with sample_decode.exe, could you post your command line? I will try to reproduce it to help you.

Mark

Reply