Skip to content

Decoding error with Adaptive quantization modes Variance and Complexity

dav1d encounters an error while decoding a video encoded with aomenc with adaptive quantization modes variance (1 in aom) and complexity (2). The cyclic refresh (3) mode works fine. Reproduces with both ec53ec6d and d401106b (64-bits Windows).

Encoding commands (aomenc)

aomenc --limit=75 --aq-mode=1 -o aq-mode-1.ivf E:\Morocco8K-8b-960.y4m
aomenc --limit=75 --aq-mode=2 -o aq-mode-2.ivf E:\Morocco8K-8b-960.y4m
aomenc --limit=75 --aq-mode=3 -o aq-mode-3.ivf E:\Morocco8K-8b-960.y4m

Decoding commands (dav1d)

dav1d -i aq-mode-n.ivf -o NUL.y4m

Decoding output (dav1d)

Decoded 1/75 frames (1.3%)Error decoding frame: Invalid argument

Same error for both dav1d builds and both aq-mode-1 and aq-mode-2. Decoding with aomdec works without problems.

Files: aq-mode-1.ivf, aq-mode-2.ivf, aq-mode-3.ivf, log-adaptive-quantization-error.txt.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information