8k hevc decoding problem (nvidia)

relaxvideo wrote on 8/17/2024, 2:49 PM

In another thread user djrikki2 shared a 8k hevc mov file,
which plays fine in MPC-HC mediaplayer with nvdec decoding,
but in Vegas 22 it does NOT use nvdec, and my cpu can decode only at 0.3 fps :)

Why is that? I tried to remux to .mp4 format ('cos i hate .movs), but no luck, no nvdec in Vegas.

Video parameters are:

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main 10@L6.1@High
Codec ID                       : hvc1
Codec ID/Info                  : High Efficiency Video Coding
Duration                       : 46 s 560 ms
Bit rate                       : 394 Mb/s
Width                          : 7 680 pixels
Height                         : 4 320 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 25.000 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 10 bits
Bits/(Pixel*Frame)             : 0.475
Stream size                    : 2.14 GiB (99%)
Language                       : English
Encoded date                   : UTC 2024-08-17 19:38:21
Tagged date                    : UTC 2024-08-17 19:38:21
Color range                    : Full
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709
Codec configuration box        : hvcC


My 1660 Ti card can decode 4:2:0 HEVC up to 12 bit and max 8192x8192.
https://developer.nvidia.com/video-codec-sdk

So what's going on in Vegas?

 

Comments

j-v wrote on 8/17/2024, 3:54 PM

No problem with me on laptop from signature with all Video and I/O settings at default in Vegas 21 and Vegas 22.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Former user wrote on 8/17/2024, 6:36 PM

@j-v you have a 1660ti in your desktop, the same card as him but choose to screen record playback of your laptop with an rtx2070 possibly using an Intel IGPU decoder, a video of your 1660ti working is what' relevant here, but you'd have to set decode to the Nvidia card

@relaxvideo just to confirm, task manager/performance/gpu shows no decode activity for 8k, is that the same for experiment hevc decoder?

Howard-Vigorita wrote on 8/17/2024, 7:02 PM

Nvidia's 8k decoding support isn't clear to me. 8k is only specifically mentioned in Nvidia Pure Video versions 8 and 11. Which correspond to feature sets H & K. And feature set I says it supports all of H with greater efficiency. The 1660 & 2000-series is PV10/J which falls in between but doesn't mention 8k or that it includes all of feature set H or I. Wonder if any 2080 users ever see Nvidia 8k hardware decoding?

Former user wrote on 8/17/2024, 8:25 PM

@relaxvideoDoes Vegas play this file with GPU decoder?

https://www.mediafire.com/file/ia365n7556capk7/P1025412.MOV/file

Above 4k below 8K, you may already have some gopro 5.*K HEVC footage.

RogerS wrote on 8/17/2024, 11:29 PM

I could test in a week with the 2080 if you still care by then.

relaxvideo wrote on 8/18/2024, 1:21 AM

j-v: yeah, that's fine.

 

UltraVista: yes, checked in task manager, no decode activity for 8k. I just tested with experiment hevc decoder, and it does use nvdec, but the playback is still unusable, only 2-3fps, compared to fluid mpc-hc.

Yes, gopro file is fine, and also my Insta360 X4 8k hevc export is also fine!! (7680x3840)

 

Howard-Vigorita: Nvidia's 8k decoding support is clear to me. Have you checked "Supported Format Details (Click to learn more)" button on the link what i provided? This clearly states that with Turing chip 8k (max 8k x 8k) hevc 4:2:0 even at 12 bit is supported. Only AV1 decoding is missing (besides 4:2:2 avc, hevc..)

So 8k hevc from Insta camera use nvdec in Vegas, but the sample 8k hevc from djrikki2 does not use!

 

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

bitman wrote on 8/18/2024, 1:24 AM

@Former user 

@relaxvideoDoes Vegas play this file with GPU decoder?

https://www.mediafire.com/file/ia365n7556capk7/P1025412.MOV/file

Above 4k below 8K, you may already have some gopro 5.*K HEVC footage.

this plays fine in Vegas, NVIDEA decode is around 30% load via a RTX 3090

APPS: VIDEO: VP 365 suite (VP 22 build 194) VP 21 build 315, VP 365 20, VP 19 post (latest build -651), (uninstalled VP 12,13,14,15,16 Suite,17, VP18 post), Vegasaur, a lot of NEWBLUE plugins, Mercalli 6.0, Respeedr, Vasco Da Gamma 17 HDpro XXL, Boris Continuum 2025, Davinci Resolve Studio 18, SOUND: RX 10 advanced Audio Editor, Sound Forge Pro 18, Spectral Layers Pro 10, Audacity, FOTO: Zoner studio X, DXO photolab (8), Luminar, Topaz...

  • OS: Windows 11 Pro 64, version 24H2 (since October 2024)
  • CPU: i9-13900K (upgraded my former CPU i9-12900K),
  • Air Cooler: Noctua NH-D15 G2 HBC (September 2024 upgrade from Noctua NH-D15s)
  • RAM: DDR5 Corsair 64GB (5600-40 Vengeance)
  • Graphics card: ASUS GeForce RTX 3090 TUF OC GAMING (24GB) 
  • Monitor: LG 38 inch ultra-wide (21x9) - Resolution: 3840x1600
  • C-drive: Corsair MP600 PRO XT NVMe SSD 4TB (PCIe Gen. 4)
  • Video drives: Samsung NVMe SSD 2TB (980 pro and 970 EVO plus) each 2TB
  • Mass Data storage & Backup: WD gold 6TB + WD Yellow 4TB
  • MOBO: Gigabyte Z690 AORUS MASTER
  • PSU: Corsair HX1500i, Case: Fractal Design Define 7 (PCGH edition)
  • Misc.: Logitech G915, Evoluent Vertical Mouse, shuttlePROv2

 

 

relaxvideo wrote on 8/18/2024, 2:20 AM

thanks

i tried with latest nvidia Studiodriver 560.81, no luck either.

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Howard-Vigorita wrote on 8/18/2024, 10:08 AM

@relaxvideo There's an interesting video on YouTube that compares 8k 1660 vrs 3070 performance using Edius from Grass Valley. He only tested Nvenc encoding for both, but said he chose the codec to force decoding by CPU.

www.youtube.com/watch?v=YuV0ujgR5Qo&t=156s

I can see source named 8k 60p on his timeline which I assume is hevc. Suggesting his results would have been quite different if he had allowed both to attempt gpu decoding.

mark-y wrote on 8/18/2024, 10:27 AM

In another thread user djrikki2 shared a 8k hevc mov file,
which plays fine in MPC-HC mediaplayer with nvdec decoding,
but in Vegas 22 it does NOT use nvdec, and my cpu can decode only at 0.3 fps :)

I can't address the reports of decoding issues in the newest Vegas, since I haven't tried it.

However, the temptation to compare "preview" performance in Vegas, a nonlinear editor, with "playback" in a desktop media player such as you named, should be avoided.

Vegas must decode the compressed video stream to native uncompressed bits for processing, store them in RAM and VM, and "try" to access them fast enough for previewing, filter and plugin processing, editing, and eventual encoding back to a compressed format for delivery.

On the other hand, the video players you named all read and process directly from the compressed stream without the need to decode to raw bits on the fly, fudging through stream errors and glitched frames, with a surprising degree of success.

That is why Vegas spends time opening and decoding your video file, while players start playing when you press Play. I know of no recent changes in that fundamental behavior.

Those are two completely different scenarios, that absolutely defy comparison on any level, except in the most superficial observation.

3POINT wrote on 8/18/2024, 11:24 AM

In another thread user djrikki2 shared a 8k hevc mov file,
which plays fine in MPC-HC mediaplayer with nvdec decoding,
but in Vegas 22 it does NOT use nvdec, and my cpu can decode only at 0.3 fps :)

I can't address the reports of decoding issues in the newest Vegas, since I haven't tried it.

However, the temptation to compare "preview" performance in Vegas, a nonlinear editor, with "playback" in a desktop media player such as you named, should be avoided.

Vegas must decode the compressed video stream to native uncompressed bits for processing, store them in RAM and VM, and "try" to access them fast enough for previewing, filter and plugin processing, editing, and eventual encoding back to a compressed format for delivery.

On the other hand, the video players you named all read and process directly from the compressed stream without the need to decode to raw bits on the fly, fudging through stream errors and glitched frames, with a surprising degree of success.

That is why Vegas spends time opening and decoding your video file, while players start playing when you press Play. I know of no recent changes in that fundamental behavior.

Those are two completely different scenarios, that absolutely defy comparison on any level, except in the most superficial observation.

Indeed, can you edit a video in your player like you do with Vegas? Why not blaming the player for that?

There are also some minimal requirements for your hardware to EDIT video with is different for HD, 4k or 8k.

relaxvideo wrote on 8/18/2024, 11:51 AM

Yes, i know that and understand.

What i dont, is why my Insta360 8k export play fine in Vegas?...

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Wolfgang S. wrote on 8/18/2024, 12:12 PM

@relaxvideo

similar to j-v, I also achieve the full playback speed on my laptop. So with 768ßx4320 8bit project settings with preview full the 25 fps.

My RTX 3070Ti is utilized up to 71%, geh CPU to 13% only - and RAM with 15 GB.

I do not know what the difference is, on your system.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

relaxvideo wrote on 8/18/2024, 1:50 PM

thx, so i have to buy a laptop, lol :)

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Wolfgang S. wrote on 8/18/2024, 2:07 PM

Lol:)

Was it again on your #2? Does the 1660Ti have 6GB ram? And the i7 2600 has 4 cores I think. Maybe it is hard for this hardware to handle 8K footage? I do not know really.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

relaxvideo wrote on 8/18/2024, 2:09 PM

yes, on #2

yes, 6GB ram

i7 8 logical core

Maybe hard, but insta version not. Ok, that's "just" 7680x3840

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Howard-Vigorita wrote on 8/18/2024, 5:03 PM

Just tried with vp21 b315 & 208 on my laptop and plays great with mucho decoding on the 3060. Nvidia 3060's for a desktop are running about $300us on Amazon.

Former user wrote on 8/18/2024, 9:01 PM

thx, so i have to buy a laptop, lol :)

Wouldn't think so it looks like a bug with 1660ti GPU decoding, experimental decoder works, video players work, you could check if free capcut uses your decoder, also could try re-wrapping to mkv, I found with VP21b315 I could force GPU decoding with Sony files when It wouldn't work otherwise with new decoder.

Your 1660ti probably wouldn't GPU decode in Resolve, but that's not a bug, they blacklist GPU decoding based on how much Vram the card, for example Resolve won't decode 5.3K with a 4GB Vram card. This isn't true for Vegas as Howard has already proved, his 6GBVram card will GPU decode the 8K file in Vegas.

@j-v could tell us if his 1660ti decodes the 8K file but he's gone into hiding.

Howard-Vigorita wrote on 8/18/2024, 9:16 PM

I just fired up my old xeon which has a 1660 in it and it does in fact decode with vp21 build 315. Surprised me. Managed to play smoothly up to Best-auto. GPU usage is unusually high but it's not even a ti and has only 1 fan. Studio Driver is 555.85, not too out of date. Here's a screen shot with settings which are nothing special other than thumbs and proxies are off:

Haven't got vp22 on that machine yet but I'll check it out soon as I juggle the serial number.

UPDATE: even better with vp22 b93... I was able to play with Best-Full

Howard-Vigorita wrote on 8/18/2024, 9:49 PM

Also tried experimental-hevc... plays very poorly. Reducing preview to draft-auto plays about the same.

relaxvideo wrote on 8/19/2024, 12:38 AM

hmm. then whats wrong by me?..
Sorry, because of my stereo 3d working, i dont want to upgrade this machine to 3060 or newer. (no nvidia stereo driver here)

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Wolfgang S. wrote on 8/19/2024, 3:12 AM

I would save this older machine for the s3D work. And - if possible - invest in a new machine for the rest.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

relaxvideo wrote on 8/19/2024, 3:57 PM

That's my daughter's pc :)

the question remained : why insta 8k hevc plays fine, while djrikki2's mov not?

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

Former user wrote on 8/19/2024, 5:44 PM

@relaxvideo download capcut see if it plays the same file with GPU decoding. before you add the file go into preferences and turn off auto creation of proxies. If another editor plays the file with GPU decoding then I feel it's a bug that could be fixed in Vegas related to 1660ti, Howard has shown it decodes on 1660, and Nvidia describes all 1660 variations as having same decoder.

If Capcut doesn't play the file with GPU decoding that means Vegas is not to blame and your problem is still a mystery.