This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Nvenc h.265 with svp crashed
#1
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
Reply
#2
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
Reply
#3
Thanks for the answer. Driver reinstall, last version. Log in attachmenty4m? What you will advise, how to solve
Reply
#4
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
Reply
#5
thanks. How to edit command line nvecn, to the use -y key, i cannot find. Or can somehow change the avisynth output to 8bit?
Reply
#6
You can add stuff to the command line using "NVEnc->Misc->Addition".
I am looking into the OutputBitdepth.

Cu Selur
Reply
#7
Send you a link to a dev version which should help with the bit depth.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)