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

More live video delay using intel media SDK h264 decoder from h264 camera

lshang_2000
Novice
350 Views
I built the directshow filter of H264 decoder using intel media SDK(version 2.0.12.24071). I tested the filter with H264 camera on the Sandbridge system(3GHz, 8GB, windows 7 64Bit). Thefilter just uses the system memory and hardware acceleration and display order output setting. The H264 media stream is 720P only with I, P frames. The vido ouput from the decoder takes long delay( 10 frames or so delay).

I checked the decoder state (call GetDecodeStat()), and found that the decoder doesn't output frame data until the decoder cache 10 framesinternally ( Number of internally cached frames is 10). Itcauses the delay output issue.

The media stream is only with I, P frames, decoderis ready to output one frame data to displayafter decoding one frame. Even with B frame, I think, it is ready to output frame after decoding three frames.

I can set the decoder in decoder order output to solve the issue, but it isn't good way. I appreicate your suggestionto solve the issue.

Thanks,
-lshang
0 Kudos
2 Replies
Eric_S_Intel
Employee
350 Views

Hi Ishang,

Thanks for the report. We are aware of the issue. The buffering mechanism is there to achieve max throughput for transcoding workloads, unfortunately is doesnt do much for live video use cases. The MSDK 3.0 will fix these latency issues. The Beta will be available this quarter.

-Eric

0 Kudos
lshang_2000
Novice
350 Views
Thanks.

-lshang
0 Kudos
Reply