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.

H.264 encoder CPB buffer overflow ?

Igor_Koba
Beginner
329 Views
I am using Intel Quick Sync H.264 encoder (transcoder sample)
to encode H.264 constant bit rate.
Almost every coded stream have CPB buffer overflow (HRD viloation)
what canI do?
Is it a known bug?
0 Kudos
3 Replies
Petter_L_Intel
Employee
329 Views
Hi Igor,

Can you please provide some more details regarding your setup.
- Graphics driver version
- Media SDK version
- Did you use SW or HW Media SDK codecs?
- What tool did you use to detect buffer overflow? Elecard?

Regards,
Petter
Igor_Koba
Beginner
329 Views
Petter,
This is using HW encoder (Sandy Bridge) Intel Core i-7 2620 M
QM67 chipset, Driver 8.15.10.2559 Windows 7 64 bit
Intel SDK 2. and 3.0.224 beta
My tool "Vega Analyzet 8.4", and our own CPB buffer analysys tools.
It loooks like H264 encoderdoes not insert NULL packets
where necessary.
Happens on many long files with constant bit rate.
Also strangeHRD buffer error message shows in Vega analyser.
I can upload sample stream and all data and analyzer examples.
please contact me directly for all error data
igor.koba@harmonicinc.com
Can we ask fix thisbug ?
Regards
Igor


Petter_L_Intel
Employee
329 Views
Igor and all,

Via direct discussions with Igor and the Vega tools team it was concluded that the buffer overflow reported is due to a bug in the tool and not in Intel Media SDK. Other tools from vendors such as Tektronix or Elecard do analyze HRD buffer conformance correctly. The Vega tool will likely be fixed in future release.

Thanks to Igor for bringing this to our attention. We appreciate any feedback from the community on potential Media SDK HRD conformance issues or any other Media SDK concerns or encountered issues.

Regards,
Petter
Reply