03.03.2020, 19:42
Okay, looking at the Avisynth script
and the the encoding call:
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
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
"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"
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.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.