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.

Could not set H264 Encoder to VBR?

Joyah
Beginner
460 Views
I've already set that parameter in Register,
but it still got a lot of mosaic when bitrate set to a low level.
Clearly, it's not VBR because the quality of encoding could not be influenced by bitrate settings.
The right way to control VBR quality is to change QP and throttling settings.
So how to change encoder to a "true" VBR?
Thanks.
0 Kudos
2 Replies
Nina_K_Intel
Employee
460 Views
Hi Joyah,

I'm not sure I quite undestand your requirement. Target Bitrate does affect the quality of encoding. Probably the level you set is just too low for the resolution and complexity of particular stream. Can you provide the exact configuration for the case with unsatisfactory quality? Media SDK Tracer tool (it's in the package under \tools folder) will help you get the complete log of all parameters values. Could you please create one and share with us?

VBR mode implemented by Media SDK is the standard one. If your intention is to comtrol per-frame QP directly, such a mode is also supported by Media SDK encoder and is called Constant Quantization Parameter (look for CQP in mediasdk-man.pdf). But Direct Show sample enoder filter doesn't expose this method. You will need to extend the sample code yourself.

Regards,
Nina
0 Kudos
Joyah
Beginner
460 Views

Hi Nina,

I think your surmise was quite accurate. I'm certainly looking for the CQP mode of encoding.
Your information helps me so well. Thank you very much.

Best regards,
Joyah

0 Kudos
Reply