Selur's Little Message Board
8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - 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: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version (/thread-1027.html)

Pages: 1 2 3


8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Cumberiron - 01.06.2019

Hello Selur!

8K video input was transcoded to 1080p instead of the original 8K format in Rigaya NVENC. Are there any option to encode the original resolution?



NVEnc --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --keyfile GENERATED_KEY_FILE --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"


FFMPEG version of NVENC always crashes from 8K input:

-vcodec hevc_nvenc -preset 1 -profile:v 3 -level 0 -rc vbr_hq -2pass 1 -qmin 0 -qmax 51 -b:v 44000k -spatial_aq 1 -aq-strength 8 -temporal_aq 0 -surfaces 32 -no-scenecut 0 -refs 7 -nonref_p 1 -strict_gop 1 -g 600 -bf 4


More info:
Creating job for current source
-> Creating jobs for source: (1)
-> Generating calls for: C:\Users\NVENC\Desktop\8k.mp4
 adding NVEnc (FFmpeg) calls for source: 1
 createJobs for C:\Users\NVENC\Desktop\8k.mp4
  creating attachment extraction subjobs
  creating video subjobs
  creating muxing subjobs
  optimizing the subJobs
-> finished creating subjobs for current source
 added new job with id 11_42_08_1810
-> should be there after processing: C:\Users\NVENC\AppData\Local\Temp\8k_11_42_08_1810_01.265
starting 11_42_08_1810_01_video@11:42:08.304 - C:\Users\NVENC\Desktop\8k.mp4
finished after 00:00:03.788 with exitCode -1073741819
Crashed with exit status 1
-> 11_42_08_1810_01_video crashed: Crashed with exit status 1


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Selur - 01.06.2019

What does NVEncC --check-features output for your setup?
Also what happens if you call:
"PATH TO NVEnc.exe" --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --keyfile GENERATED_KEY_FILE --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"
in a Windows Command Prompt on your system?

Cu Selur

Ps.: I do not care about the normal log it is just for user amusement and usually holds to me useful information,.. Which is why it starts with:
Quote:This log is only intended for user information. It should not be part of a bug/problem report!!



RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Cumberiron - 01.06.2019

(01.06.2019, 11:56)Selur Wrote: What does NVEncC --check-features output for your setup?
Also what happens if you call:
"PATH TO NVEnc.exe" --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --keyfile GENERATED_KEY_FILE --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"
in a Windows Command Prompt on your system?

Cu Selur

Ps.: I do not care about the normal log it is just for user amusement and usually holds to me useful information,.. Which is why it starts with:
Quote:This log is only intended for user information. It should not be part of a bug/problem report!!

Hello Selur!
I have a Turing Card, so 8K (MAX. 8192 X 8192 pixel) is supported as you can see:


[Image: k-p.png]


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Selur - 01.06.2019

and the other question? (also one can copy the text content of a windows command prompt,..)


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Cumberiron - 01.06.2019

(01.06.2019, 12:14)Selur Wrote: and the other question? (also one can copy the text content of a windows command prompt,..)

List of available features.
Codec: H.264/AVC
Max Bframes               4
B Ref Mode                yes
RC Modes                  63
Field Encoding            no
MonoChrome                no
FMO                       no
Quater-Pel MV             yes
B Direct Mode             yes
CABAC                     yes
Adaptive Transform        yes
Max Temporal Layers       0
Hierarchial P Frames      no
Hierarchial B Frames      no
Max Level                 51
Min Level                 1
4:4:4                     yes
Max Width                 4096
Max Height                4096
Dynamic Resolution Change yes
Dynamic Bitrate Change    yes
Forced constant QP        yes
Dynamic RC Mode Change    no
Subframe Readback         yes
Constrained Encoding      yes
Intra Refresh             yes
Custom VBV Bufsize        yes
Dynamic Slice Mode        yes
Ref Pic Invalidiation     yes
PreProcess                no
Async Encoding            yes
Max MBs                   65536
Lossless                  yes
SAO                       no
Me Only Mode              yes
Lookahead                 yes
AQ (temporal)             yes
Weighted Prediction       yes
Max LTR Frames            8
10bit depth               no

Codec: H.265/HEVC
Max Bframes               5
B Ref Mode                yes
RC Modes                  63
Field Encoding            no
MonoChrome                no
Quater-Pel MV             yes
B Direct Mode             no
Max Temporal Layers       0
Hierarchial P Frames      no
Hierarchial B Frames      no
Max Level                 62
Min Level                 1
4:4:4                     yes
Max Width                 8192
Max Height                8192
Dynamic Resolution Change yes
Dynamic Bitrate Change    yes
Forced constant QP        yes
Dynamic RC Mode Change    no
Subframe Readback         yes
Constrained Encoding      no
Intra Refresh             yes
Custom VBV Bufsize        yes
Dynamic Slice Mode        yes
Ref Pic Invalidiation     yes
PreProcess                no
Async Encoding            yes
Max MBs                   262144
Lossless                  yes
SAO                       yes
Me Only Mode              yes
Lookahead                 yes
AQ (temporal)             yes
Weighted Prediction       yes
Max LTR Frames            7
10bit depth               yes


What was the other question?


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Selur - 01.06.2019

[quote]Also what happens if you call:
"PATH TO NVEnc.exe" --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"
in a Windows Command Prompt on your system?


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Cumberiron - 01.06.2019

(01.06.2019, 12:29)Selur Wrote:
Quote:Also what happens if you call:
"PATH TO NVEnc.exe" --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"
in a Windows Command Prompt on your system?
Nothing, maybe becase no imput file in these script?


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Selur - 01.06.2019

Yes. So how do you expect me to know what happens if you don't share relevant data?
By default Hybrid doesn't resize so if it does, it's because of a setting you did,..


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Cumberiron - 01.06.2019

(01.06.2019, 12:29)Selur Wrote:
Quote:Also what happens if you call:
"PATH TO NVEnc.exe" --avhw native -i -INPUT- --fps 30.000 --codec h265 --profile main444 --level auto --tier high --sar 1:1 --lookahead 32 --output-depth 10 --cbrhq 44000 --max-bitrate 240000 --aq --gop-len 600 --strict-gop --bframes 4 --ref 7 --weightp --mv-precision Q-pel --cu-max 32 --cu-min 8 --preset quality --colormatrix bt709 --vpp-resize default --output-res 1920x1080 --vpp-gauss disabled --cuda-schedule sync --aq-strength 8 --output "C:\Users\NVENC\AppData\Local\Temp\8k.265"
in a Windows Command Prompt on your system?
I tested:
8K video transcoding worked well in Handbrake.


RE: 8K video was automatically transcoded to 1080p in NVENCC,it crashes in FFMPEG Version - Selur - 01.06.2019

Works fine here too.