Edit: Updated title from Non-monotonic behaviour in AV2 for low-QPs to Non-monotonic behaviour in AV2 when using Fixed QPs since AVM-v1.0, as we have this bug of non-monotonicity at certain intermediate QPs in all ranges.
What version / commit were you testing with?
All versions starting research v1 (git describe can produce this info.)
What steps will reproduce the problem?
-
Encode the video at different QPs in All-Intra mode at any CPU presets. Typically observed with QP<30, or QP>220
-
Check the (R,D) points, and we can observe non-monotonic behaviour
What is the expected output?
Monotonic behaviour when changing QP (QP increases, (R,D) decreases)
I have only tested at 480x270p resolution for now, but I do not think that matters. But even then, the non-monotonicity seems to be quite bad, irrespective of {cpu-preset, chroma subsampling}.
Example CLI:
avmenc --cpu-used=0 --passes=1 --end-usage=q --kf-min-dist=0 --kf-max-dist=0 --use-fixed-qp-offsets=1 --deltaq-mode=0 --enable-tpl-model=0 --enable-keyframe-filtering=0 --obu --psnr=1 --enable-intrabc-ext=1 --cpu-used=0 --qp=242 --limit=15 -o NocturneRoom_3840x2160_60fps_hdr10.y4m-242-15f-av2-basic.obu NocturneRoom_3840x2160_60fps_hdr10.y4m-270p.y4m
{width=603 height=600}
{width=610 height=600}
Note: This issue was migrated from GitLab. See original issue for discussion history.
Edit: Updated title from
Non-monotonic behaviour in AV2 for low-QPstoNon-monotonic behaviour in AV2 when using Fixed QPs since AVM-v1.0, as we have this bug of non-monotonicity at certain intermediate QPs in all ranges.What version / commit were you testing with?
All versions starting research v1
(git describe can produce this info.)What steps will reproduce the problem?
Encode the video at different QPs in All-Intra mode at any CPU presets. Typically observed with QP<30, or QP>220
Check the (R,D) points, and we can observe non-monotonic behaviour
What is the expected output?
Monotonic behaviour when changing QP (QP increases, (R,D) decreases)
I have only tested at 480x270p resolution for now, but I do not think that matters. But even then, the non-monotonicity seems to be quite bad, irrespective of {cpu-preset, chroma subsampling}.
Example CLI:
avmenc --cpu-used=0 --passes=1 --end-usage=q --kf-min-dist=0 --kf-max-dist=0 --use-fixed-qp-offsets=1 --deltaq-mode=0 --enable-tpl-model=0 --enable-keyframe-filtering=0 --obu --psnr=1 --enable-intrabc-ext=1 --cpu-used=0 --qp=242 --limit=15 -o NocturneRoom_3840x2160_60fps_hdr10.y4m-242-15f-av2-basic.obu NocturneRoom_3840x2160_60fps_hdr10.y4m-270p.y4mNote: This issue was migrated from GitLab. See original issue for discussion history.