Selur's Little Message Board
Crashed on Nvenc - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Crashed on Nvenc (/thread-662.html)

Pages: 1 2


Crashed on Nvenc - mzr910 - 09.10.2018

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]


RE: Crashed on Nvenc - Selur - 09.10.2018

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?


RE: Crashed on Nvenc - mzr910 - 09.10.2018

(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>


RE: Crashed on Nvenc - Selur - 09.10.2018

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


RE: Crashed on Nvenc - mzr910 - 10.10.2018

yes  work ok after  clean reinstall , thanks


RE: Crashed on Nvenc - weyb06 - 04.12.2018

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


RE: Crashed on Nvenc - Selur - 04.12.2018

link to debug output doesn't work


RE: Crashed on Nvenc - weyb06 - 04.12.2018

hi

try this

bruno


RE: Crashed on Nvenc - Selur - 04.12.2018

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


RE: Crashed on Nvenc - weyb06 - 04.12.2018

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