iMX.6 VPU H.264 encoding: Does it support "Adaptive Quantization Strength" parameter?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX.6 VPU H.264 encoding: Does it support "Adaptive Quantization Strength" parameter?

Jump to solution
1,914 Views
salado
Contributor I

All,

Under Android, we need to encode the camera input to H.264 for a video call application. For example 300Kbps for 320x240, 15fps.

Right now, we have the software encoding solution with libx264 and it works well. In the requirement, the video could sacrifice some

sharpness to game more "smooth" motion.

With libx264, it could be achieved with "Adaptive Quantization Strength" or "aq-strength" parameter. But with VPU, there is no such

parameter supported by libvpu. The deblock, deblock Alpha and deblock Beta can't get the same result as we saw with libx264.

The block artifacts are too obvious while subject moves in the video input.

Questions:

1. Does iMX.6 VPU support "Adaptive Quantization Strength"/"aq-strength" parameter?

2. If not, for video call application, what is the preferred Encoding parameter set for low bandwidth motion video encoding?

Thanks in advance!

0 Kudos
1 Solution
719 Views
jack_mao
NXP Employee
NXP Employee

Hi,

    It seems vpu don't support that parameter,  you could set bitrate (not too low) and gop size, anyway, you could  change QP on frame or slice basis by setting encop.RcIntervalMode, this parameter  is the structure passed to vpu_EncOpen

View solution in original post

0 Kudos
1 Reply
720 Views
jack_mao
NXP Employee
NXP Employee

Hi,

    It seems vpu don't support that parameter,  you could set bitrate (not too low) and gop size, anyway, you could  change QP on frame or slice basis by setting encop.RcIntervalMode, this parameter  is the structure passed to vpu_EncOpen

0 Kudos