Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] --aq-mode 0 results in the encode aborting #133

Open
1 of 2 tasks
motbob opened this issue Feb 11, 2025 · 1 comment
Open
1 of 2 tasks

[BUG] --aq-mode 0 results in the encode aborting #133

motbob opened this issue Feb 11, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@motbob
Copy link
Contributor

motbob commented Feb 11, 2025

Overview
With --aq-mode 0 as the only parameter, the encode aborts with no error message.

Branch
In which branch does the issue appear to be occurring?

  • master
  • testing

Reproduction
Steps to reproduce the behavior:

  1. Obtain a 10-bit y4m (not sure if it needs to be 10-bit)
  2. Do SvtAv1EncApp -i input0.y4m -b asdf.ivf --aq-mode 0

Expected behavior
The encode results in an output file larger than 0KB.

Platform (please complete the following information):

  • Operating System: Windows
  • I tested on various psy binaries and don't know the build details of some of them.

Version String (please complete the following information):

  • SVT-AV1-PSY Encoder Lib v2.3.0-B

Additional context / Relevant Files
--aq-mode 0 appears to work fine in vanilla svt-av1.

@motbob motbob added the bug Something isn't working label Feb 11, 2025
@BlueSwordM
Copy link
Collaborator

Yeah, this is sadly an annoying behavior with --tune 2/3 where the encoder is supposed to abort:
https://github.com/psy-ex/svt-av1-psy/blob/master/Source/Lib/Codec/mode_decision.c#L4807

I'm currently working on a way to disable SSIM-RD, or simply refuse the use of --aq-mode 0 when --tune 2/3 are active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants