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.

Crashed on Nvenc
#1
latest Hybrid version , latest nvidia drivers , win10 x64 , nvenc , crashed on every mp4 file after audio encoding

settings


NVEnc --y4m -i - --fps 29.165 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 3600 --max-bitrate 4200 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim bt709 --transfer bt709 --colormatrix bt709 --keyfile GENERATED_KEY_FILE --output "E:\Temp2\Avi\test.265"



with these settings work ok on Hybrid_2018.04.08.1 , latest same not working   , FFNvenc  working ok (on latest hybrid)

debug output and report file


[attachment=532]
Reply
#2
What happens if you call:
"C:\PROGRA~1\Hybrid\ffmpeg.exe" -y -loglevel fatal -threads 8 -i "F:\Work\Video\Transcoding\test.mp4" -map 0:0 -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 29.165 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 3600 --max-bitrate 4200 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim bt709 --transfer bt709 --colormatrix bt709 --output "E:\Temp2\Avi\test_18_54_45_9410_06.265"
inside a Windows command prompt?
Reply
#3
(09.10.2018, 18:20)Selur Wrote: What happens if you call:
"C:\PROGRA~1\Hybrid\ffmpeg.exe" -y -loglevel fatal -threads 8 -i "F:\Work\Video\Transcoding\test.mp4" -map 0:0 -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 29.165 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 3600 --max-bitrate 4200 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim bt709 --transfer bt709 --colormatrix bt709 --output "E:\Temp2\Avi\test_18_54_45_9410_06.265"
inside a Windows command prompt?

Microsoft Windows [Version 10.0.17134.285]
© 2018 Microsoft Corporation. All rights reserved.

C:\Users\Admin>"C:\PROGRA~1\Hybrid\ffmpeg.exe" -y -loglevel fatal -threads 8 -i "F:\Work\Video\Transcoding\test.mp4" -map 0:0 -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 29.165 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 3600 --max-bitrate 4200 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim bt709 --transfer bt709 --colormatrix bt709 --output "E:\Temp2\Avi\test_18_54_45_9410_06.265"
Error: Unknown option: --preset

Did you mean option(s) below?
  --ref
  --fps

C:\Users\Admin>
Reply
#4
Strange thing is '--preset default' works fine for me.
Did a quick test with:
ffmpeg -y -loglevel fatal -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - | NVEncC --y4m -i - --fps 25.000 --codec h265 --profile main10 --level auto --sar 1:1 --lookahead 16 --output-depth 8 --cbrhq 1012 --max-bitrate 240000 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim undef --transfer undef --colormatrix bt470bg --output "E:\Temp\default_18_37_24_5310_01.265"
I then changed the preset value, but had all preset values worked fine,..
I then used your setting (with adjusted paths):
ffmpeg -y -loglevel fatal -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - | NVEncC --y4m -i - --fps 29.165 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 3600 --max-bitrate 4200 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset default --videoformat undef --colorprim bt709 --transfer bt709 --colormatrix bt709 --output "E:\Output\test.265"
and encoding worked fine too,..

On my system "NVEncC.exe --check-environment"
reports:
Environment Info
OS : Windows 10 x64 (17763)
CPU: AMD Ryzen 7 1800X Eight-Core Processor (8C/16T)
RAM: Used 4566 MB, Total 32696 MB
GPU: 416.16 (19 EU) @ 1683 MHz (416.16)
(which should be the latest drivers)
-> not sure what could cause this, try deinstalling Hybrid before installing the latest version, may be some remnants from the older version causes this.

Cu Selur
Reply
#5
yes  work ok after  clean reinstall , thanks
Reply
#6
Hi

I have some crashes when encoding cartoons
what is strange is that it doesn't happen all the time (1 time on 3 perhaps) : i have created a Global Profile which is used for all the cartoons.


version 2018.11.11.1

the command is :
NVEnc --y4m -i - --fps 29.970 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --vbrhq 1000 --max-bitrate 240000 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt470bg --keyfile GENERATED_KEY_FILE --output "C:\temp\720x480_ld3-side6_chapters_1000kbps_colored2.265"

other parameters :
- codec NVEnc with variable bitrate (HQ)
- bitrate : 1000kbps
- crop left :36 / crop bottom : 6
- input PAR : 8x9 converted to square pixel (1:1)
- filtering->filtering ->colour adjustments -> gamma : 0,95 ; RGB-gamma:1,20 ; contrast : 1,10
- filtering->filtering ->(un-)sharpen->strength:0,50
- chapters inserted

here is the log level 4

regards
Reply
#7
link to debug output doesn't work
Reply
#8
hi

try this

bruno
Reply
#9
Looking at the encoding calls:
"C:\WEYBPR~2\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\temp\encodingTempSynthSkript_12_45_03_5410.vpy" - --y4m | "C:\WEYBPR~2\Hybrid\64bit\ffmpeg.exe" -y -hwaccel auto -threads 1 -f yuv4mpegpipe -i - -an -sn -vf unsharp=3:3:0.50:3:3:0.50,zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f yuv4mpegpipe - |  "C:\WEYBPR~2\Hybrid\64bit\NVEncC.exe" --y4m -i - --fps 29.970 --codec h265 --profile main --level auto --sar 1:1 --lookahead 16 --vbrhq 1000 --max-bitrate 240000 --gop-len 0 --bframes 0 --ref 3 --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt470bg --keyfile "C:\temp\720x480_ld3-side6_chapters_1000kbps_colored2_12_45_03_5410_04.qp" --output "C:\temp\720x480_ld3-side6_chapters_1000kbps_colored2_12_45_03_5410_05.265"
My guess the problem is that you are mixing Vapoursynth and ffmpeg filtering.
What happens if you call the encoding calls inside a command prompt?

Cu Selur
Reply
#10
Hi,

i suppose it would run, as finally I rebooted Hybrid & it worked fine afterwards...

NOTA : when a job crashes, all the next jobs crash also, as if Hybrid was in an instable state
--> would you like to have a level 9 log the next time it happens ?

regards
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)