Trying to convert with nvenc in h265 with the svp filters, with avisynth issues an error.
ERROR: C:\2222\1mov_21_25_50_7710_06.265 was not created!
ffmpeg_32 -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\2222\encodingTempSynthSkript_21_25_50_7710.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f yuv4mpegpipe - | NVEnc --y4m -i - --fps 59.940 --codec h265 --profile main --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 8 --vbrhq 3000 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset quality --colormatrix bt709 --cuda-schedule sync --keyfile "C:\2222\1mov_21_25_50_7710_05.qp" --output "C:\2222\1mov_21_25_50_7710_06.265"
in log:
-> 21_25_50_7710_06_video crashed: ERROR: C:\2222\1mov_21_25_50_7710_06.265 was not created!
in 264 same problem
Without svp filter nvenc works, vapoursyth with svp and nvenc work, necessary started via avisynth
Posts: 10.620
Threads: 57
Joined: May 2017
SVP with Avisynth sometime requires to uninstall and reinstall the NVIDIA drivers.
If that doesn't work share a debug output level 9 of the job processing.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Thanks for the answer. Driver reinstall, last version. Log in attachment. y4m? What you will advise, how to solve
Posts: 10.620
Threads: 57
Joined: May 2017
Okay, looking at the Avisynth script
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~2\ffms2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~2\svpflow1.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~2\svpflow2.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\InterFrame2.avsi")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\download\test.mkv
# input color sampling YV12
# input luminance scale tv
FFVideoSource("F:\download\test.mkv",cachefile="C:\2222\23_21_32_6110.ffindex",fpsnum=24000,fpsden=1001,colorspace="YV12")
# current resolution: 1920x1080
InterFrame(NewNum=60000,NewDen=1001,Cores=16)
# filtering
# adjusting bit depth current 8 to target 10
# convert to 10bit for encoder
ConvertBits(10)
PreFetch(4)
return last
and the the encoding call:
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\2222\encodingTempSynthSkript_23_21_32_6110.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\64bit\NVEncC.exe" --y4m -i - --fps 59.940 --codec h265 --profile main --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 8 --vbrhq 3000 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset quality --colormatrix bt709 --cuda-schedule sync --keyfile "C:\2222\test_23_21_32_6110_05.qp" --output "C:\2222\test_23_21_32_6110_06.265"
I see the problem, Avisynth outputs 10bit, but NVEnc assumes 8bit input.
If you want to encode to 10bit you should use main10 and 10bit output.
Not totally sure how you managed to got Hybrid to do what you did.
-> I'll try to add some additional checks to avoid this.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
thanks. How to edit command line nvecn, to the use -y key, i cannot find. Or can somehow change the avisynth output to 8bit?
Posts: 10.620
Threads: 57
Joined: May 2017
You can add stuff to the command line using "NVEnc->Misc->Addition".
I am looking into the OutputBitdepth.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.620
Threads: 57
Joined: May 2017
Send you a link to a dev version which should help with the bit depth.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.