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

How to decrease Media SDK decoder delay for H264 Codec Baseline profile ?

Yoni_Amram
Beginner
424 Views

We are developing VoIP telephony application using H264 Codec Baseline profile. And we need the decoder to release the decoded frames ASAP without buffering them.Thedecoder nowrelease the first frame only after accumulating about 12 frames in his internal memory (720p resolutions), and that lead to unacceptable delay in out Video receiver.
setting the value of InitialDelayInKB to 0 didn't help
m_mfxVideoParams.mfx.InitialDelayInKB = 0;
m_mfxVideoParams.mfx.BufferSizeInKB = 0;
this is what was explained in media-sdk-man.pdf

If InitialDelayInKB or BufferSizeInKB is equal to zero, the value is calculated using bitrate, frame rate, profile, level, and so on

please advice,
Thank you,
Yoni

0 Kudos
2 Replies
Petter_L_Intel
Employee
424 Views
Hi Yoni,

To achieve low latency with Media SDK you must use version 2012 (formerly 3.0) in which we have added many new features to support video conferencing and streaming. Please also refer to someof the other questions on the forum where this topic has been discussed.

I noted that your question also came to us via internal email request. I have provided more info to you via that channel. You should receive a response shortly.

Regards,
Petter
0 Kudos
acc3141
Beginner
424 Views
If you have any control over the SPS, you can also set the max_dec_frame_buffering value to 1 in the bitstream_restriction section. We are using the older SDK and resorted to 'patching' these values in the SPS that the source delivered to us. I bit of a kludge but it worked.
0 Kudos
Reply