Kidsnd274 / Av1anStaxRipWrapper

Wrapper script to use Av1an with StaxRip
17 stars 1 forks source link

Error while encoding no matter what options #3

Closed cacafuti8888 closed 4 months ago

cacafuti8888 commented 1 year ago

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`
Kidsnd274 commented 1 year ago

What's the full command that you gave StaxRip?

cacafuti8888 commented 1 year ago

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.

Kidsnd274 commented 1 year ago

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 commented 11 months ago

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.