Av1anStaxRipWrapper icon indicating copy to clipboard operation
Av1anStaxRipWrapper copied to clipboard

Error while encoding no matter what options

Open cacafuti8888 opened this issue 1 year ago • 4 comments

WARN [av1an_core::broker] Encoder failed (on chunk 0): encoder crashed: exit code: 2 stdout:

stderr: error: Found argument '--photon-noise-table' which wasn't expected, or isn't valid in this context

            If you tried to supply `--photon-noise-table` as a value rather than a flag, use `-- --photon-noise-table`

cacafuti8888 avatar Apr 07 '23 22:04 cacafuti8888

What's the full command that you gave StaxRip?

Kidsnd274 avatar Apr 08 '23 02:04 Kidsnd274

Hi, i put several commands including the default you provide "%startup_dir%\Apps\Encoders\Av1anStaxRipWrapper\VapourSynth\python.exe" "%startup_dir%\Apps\Encoders\Av1anStaxRipWrapper\Av1anStaxRipWrapper.py" -s "%startup_dir%" -i "%source_file%" -o "%encoder_out_file%" -t "%temp_dir%av1an_temp" --pix-format yuv420p10le -e rav1e --photon-noise 2 --chroma-noise --sc-downscale-height 540 -v "--quantizer 60 --speed 6 --tiles 2 --threads 2"

"%startup_dir%\Apps\Encoders\Av1anStaxRipWrapper\VapourSynth\python.exe" "%startup_dir%\Apps\Encoders\Av1anStaxRipWrapper\Av1anStaxRipWrapper.py" -s "%startup_dir%" -i "%source_file%" -o "%encoder_out_file%" -t "%temp_dir%av1an_temp" --pix-format yuv420p10le -e rav1e -v "--quantizer 60 --speed 6 --tiles 2 --threads 2"

And even tried setting different encoder (aom) with the same result. Also deleted the "--photon-noise 2 --chroma-noise" strings but i keep getting the same error.

cacafuti8888 avatar Apr 08 '23 08:04 cacafuti8888

Hmm that's weird. I will give it a try when I have time. Maybe there's a bug in the script. Meanwhile, can you try following the steps exactly in this video to see if it fixes the issue?

https://youtu.be/a7IPQcNVwTY

Also delete the av1an_temp folder for each job when retrying.

Kidsnd274 avatar Apr 08 '23 15:04 Kidsnd274

Hi, I know it's been a while. Does this error still happen with the latest commit? I have just tested the two commands you gave above and they both work fine.

Kidsnd274 avatar Nov 27 '23 10:11 Kidsnd274