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

LA-HRD performance prodigious fall after static scenes

OTorg
New Contributor III
299 Views

We encountered recently the next bug inside Intel Media SDK.

h264 encoding, HRD-compliant Look Ahead mode.
Encoding speed falls down impermissibly when static scene (of input video content) switches to dynamic one.
Even GT3e (!) graphics encodes ONE SD (720x576, 50i) signal SLOWER THAN REALTIME.

Problem was first detected at live signal encoding (hdd throughput isn't a culprit).

We have checked MFX_RATECONTROL_VBR with the same encoding settings/content. VBR works fine.

Problem observed on:
i7-6700 (HD Graphics 530), win7 x64, 20.19.15.4483 graphics driver;
i7-6700 (HD Graphics 530), win10 x64, 20.19.15.4483 graphics driver;
e3-1225v5 (HD Graphics P530), win10 x64, 20.19.15.4501 and 20.19.15.4483 graphics drivers;
i7-5775c (Iris Pro Graphics 6200), win10 x64, 20.19.15.4501 and 20.19.15.4483 graphics drivers.

I have modified a slight your sample_encode (from MediaSamples_MSS_2017_6.0.0.193.msi) to demonstrate the issue:
- several encoding settings were added;
- duration of each MFXVideoCORE_SyncOperation call is measured and statictics is printed at every 25-th frame.

Reproducer application (source, bin and input mediafiles) is here:
https://drive.google.com/drive/folders/0B8SCkOT4os4HMHpzODJNc2JLSnc?usp=sharing

Gladiator.nv12 input file begins with static scene.
Gladiator_cut.nv12 has identical content, but without static scene at begin.

Correspondingly, _LAHRD.bat shows performance fall, while _LAHRD_cut.bat, _VBR.bat, and _VBR_cut.bat are fast as usual.

0 Kudos
1 Reply
OTorg
New Contributor III
299 Views

I have cheched the issue on a latest driver: 21.20.16.4664, i7-6700 (HD Graphics 530), win7 x64.

Problem still exists...

0 Kudos
Reply