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
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.
3058 Discussions

Mad DTS jumps are observed sometimes at h264 encoder output

New Contributor III

mfxBitstream::DecodeTimeStamp of some encoded frames is ~22 minutes back from it's expected value.
It occurs under certain GopPicSize/GopRefDist/NumRefFrame/IdrInterval/PicStruct encoder initialization combinations.

For example, GopPicSize = 35, GopRefDist = 4, NumRefFrame = 3, IdrInterval = 1, progressive:
out frame 70, dts is incorrect by -1310.720 seconds;
out frame 140, dts is incorrect by -1310.720 seconds;
out frame 210, dts is incorrect by -1310.720 seconds;
out frame 280, dts is incorrect by -1310.720 seconds;

And more. Number of encoded frames is less than the number of input frames under certain initialization combinations (latter combinations don't correlate with dts-jump combinations).

x86 application, MFX_IMPL_SOFTWARE, imsdk 1.8, msvs2010 (with latest updates), i7-3770, win7x64.
Demo application is attached:

0 Kudos
1 Reply

Sorry for the delayed reply.  Thank you for your description and reproducer.  We're looking into this and will get back to you soon with updates.

0 Kudos