Open Astolfo2001 opened 4 months ago
Can you send me the logs for av1an? It should be in the bh90210recordingcirca1995_tempav1an_temp folder.
Also I haven't updated the script for the latest StaxRip version. There has been quite a few changes so something might have broken. And also haven't tested it for svt-av1-psy. I will do a quick test in a bit. Also, the encoder flag (-e) should just be svt-av1.
Okay I've tested your command and it works, specifically this works
"%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" -e svt-av1 -v "--preset 4 --crf 20 --tune 3 --scd 0 --scm 0 --film-grain 0 --keyint -1 --frame-luma-bias 25 --max-32-tx-size 1"
For the -t flag, please change it to -t "%temp_dir%\av1an_temp"
. StaxRip changed the way they parse paths so this is the corrected parameter value.
If there's some issue with the encode, and it doesn't show up in the logs, you can try running it manually to see the error. To do that,
Go to your Av1anStaxRipWrapper folder and open cmd_with_path.bat
Next, when you try encoding in StaxRip, and an error pops up, don't close the error yet and copy the entire command line shown on StaxRip.
Paste it into the cmd window that was opened up by cmd_with_path.bat and hit enter.
It should run Av1an separately from StaxRip and it will show up any errors that comes out of the SVT-AV1 or Av1an.
just tried it and I still got this error: here's the log of that attempt log.log
I then used your advice and input the same command in cmd_with_path.bat and got these errors:
You didn't setup Av1an correctly. Download ffmpeg with the libraries and place it in the same Av1an folder. Your Av1an folder should look like this (but with a newer ffmpeg version, my Av1an version is outdated so it uses an older ffmpeg)
And it shld be in this location StaxRip-v2.41.5-x64\Apps\Encoders\Av1an
ok reinstalled Av1an
and ran the code yet it still hung for bit after the opusenc ran and I still got that error: log.log
so I ran the script in cmd_with_path and it turns out that svt-av1 doesn't support YUV422P so how can I use my AVS script for my source file in the prompt?
AVS scripts from StaxRip doesn't get passed over to the wrapper script. But you can set the bit-depth by using the --pix-format
flag. Try adding --pix-format yuv420p10le
to the encode settings. It will encode the video in yuv420p10le tho.
So it should be:
"%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 svt-av1 -v "--preset 4 --crf 20 --tune 3 --scd 0 --scm 0 --film-grain 0 --keyint -1 --frame-luma-bias 25 --max-32-tx-size 1"
Also just wondering, why do you want to use SVT-AV1 with Av1an? Doesn't SVT-AV1 already saturate all cores.
apparently it runs faster with Av1an
every time I try to use SVT-AV1-PSY with this program, I get this error instead What the heck is going wrong?
update:
input a fixed version of the code
"%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" -e svt-av1-psy -v "--preset 4 --crf 20 --tune 3 --scd 0 --scm 0 --film-grain 0 --keyint -1 --frame-luma-bias 25 --max-32-tx-size 1"
and everything was going smoothly for me until after opusenc finished and the two windows hung for a bit until giving me this error
Again, what the heck is going wrong?