Skip to content

NVENC AV1 CQ range wrong #6418

Closed
Closed

Description

@Bleuzen

Problem Description

Hi, the current NVENC AV1 "Constant Quality" (CQ) range in HandBrake is 0-51.
However the range actually supported by the encoder is 0-63.

See:
FFmpeg/FFmpeg@aead614

Also CQ 0 is a special value, from the description:

0 means automatic

I guess when users want the best quality they would probably set the CQ slider all to the right. But this currently selects the automatic mode which results in lower quality compared to CQ 1.

So I think it would make sense for this slider to have a range of
1-63

Maybe with an additional auto mode which is separate from the CQ slider which would set CQ to 0 in the background.

Activity Log, Crash Log or any other details

No log needed

What Operating System are you running?

all

What version of HandBrake are you running?

1.8.2

Where did you download HandBrake from?

No response

Activity

  1. github-actions commented on Nov 16, 2024

    @github-actions

    Hello,

    Welcome to the HandBrake repository.

    Warning

    Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites.
    These are likely malicious!
    Members of the HandBrake team can be identified by the "(Member)" label in the top right of any response from them.

    Thank You,
    The HandBrake Bot

  2. Bleuzen commented on Nov 16, 2024

    @Bleuzen
    Author

    Also CQ 0 is a special value, from the description:

    0 means automatic

    Btw this is also the case for H264 and HEVC so they should also have the slider starting at 1 instead of 0.
    Or at least somehow display it in the UI (like an "auto" label showing) so that users know 0 is not the best quality.

  3. gabriele2000 commented on Nov 30, 2024

    @gabriele2000

    I wonder what's the reasoning behind "Automatic" quality.
    That's the first time that I hear that both h264 and h265 have this thing.

  4. added a commit that references this issue on Jun 27, 2025
    b346686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions