intel / intel/cartwheel-ffmpeg

[VAAPI AV1 Encode] Encoder doesn't check VAConfigAttribEncMaxRefFrames

Open
#278 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
110
Forks
38
PR merge metrics
No merged PRs in 30d

Description

On official ffmpeg (with the upstreamed AV1 encode patch), the encoder seems to be generating bitstreams using always 2 reference frames set to LAST/GOLDEN for P, even when VAConfigAttribEncMaxRefFrames.L0 reports a lower limit (e.g max 1 L0 reference frame).

@feiwan1 Is this something that could be checked so only the LAST reference is used for P when VAConfigAttribEncMaxRefFrames.L0 = 1 ? This affects the vaon12 VA driver which has encode AV1 support over different hardware abstracted through D3D12 reporting different support for VAConfigAttribEncMaxRefFrames.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.