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.

CQP and VBR different GopRefDist and GopPicSize

Michael_Schmidt
Beginner
1,286 Views

VBR: encqsvInit: GopRefDist 3 GopPicSize 256 NumRefFrame 2

CQP: encqsvInit: GopRefDist 4 GopPicSize 32 NumRefFrame 2

The SDK seems to use different gop values for CQP and VBR. Is there a special reason why CQP uses much lower gop values? Because the lower gop values should result in a lower video quality. I wonder why they are different.

0 Kudos
5 Replies
Anthony_P_Intel
Employee
1,286 Views

Hi,

The default GOP values chosen by the SDK are Intel's recommendation based on the requested target usage and the quality output of each encoding algorithm.  The values can be set by the application if different quality is desired.  You may also find that default values can vary for different hardware implementations.

0 Kudos
Michael_Schmidt
Beginner
1,286 Views

Target usage and everything is the same, only difference is the bitrate mode.

0 Kudos
Anthony_P_Intel
Employee
1,286 Views

Yes, the algorithm and hardware for each bitrate mode can vary, and the chosen values are designed to provide the expected target used.

For example, if you ask for 'fastest' usage, the fastest using CQP may be different than the fastest using VBR.

0 Kudos
Michael_Schmidt
Beginner
1,286 Views

Of course, but why is it different in CQP mode? The point is with a GopPicSize of just 32 the quality is worse than GopPicSize 256. There must be a reason why Intel choose a value that lowers the quality.

0 Kudos
Anthony_P_Intel
Employee
1,286 Views

I believe you'll find "the quality is worse" also means " the performance is faster"  for CQP.

0 Kudos
Reply