Stuttering playback of H.265 10 bit 4K video footage

Comments

Markus-Trachsel wrote on 7/9/2022, 4:08 PM

This is my FileIO, ever tried so?

Stuttering like hell. No chance.

Musicvid wrote on 7/9/2022, 4:11 PM

Also note that normally I am using C4K footage (4096) for my 4K projects (3840) and crop it down.

Now you've got me thoroughly confused. Your uploaded clip is 3840x2160. So it is not your source footage that you enumerated above?

You are cropping? Using Event Pan/Crop? You didn't say before and yes, it negatively impacts preview performance.

Proxies. Or your ProRes intermediate. Good luck.

Markus-Trachsel wrote on 7/9/2022, 4:14 PM

Also note that normally I am using C4K footage (4096) for my 4K projects (3840) and crop it down.

Now you've got me thoroughly confused. Your uploaded clip is 3840x2160. So it is not your source footage you enumerated above?

I wanted to make it simple for everybody. The stuttering effect is the same I use 4K or C4K footage. But I uploaded a 4K video so we all agree on it, no cropping required and I adjusted my settings to the clip as you mentioned, but it was already set like that, no change needed and still stuttered. I just mentioned that for my other work i use C4K. But lets just focus on the 4K clip that I uploaded. That one does not playback smoothly either. It goes for about 20 frames, then stops, then skips some frames and continues. So its just stop and go.

Last changed by Markus-Trachsel on 7/9/2022, 4:16 PM, changed a total of 1 times.

Vegas Pro 18 (and occasionally 19, but it keeps crashing every minute or so), Windows 10 64 bit, 64 Gb RAM, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, Samsung 980 PRO NVMe 2GB

j-v wrote on 7/9/2022, 4:23 PM

I think your problem is hardware related and therefore you have to use proxies.
With me it played without proxies fluent because I have 2 GPU's working, a Nvidia(for making and showing) and the Intell GPU as part of my processor(for decoding). The Intell is also used for quick and fast renders.

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 7/9/2022, 6:38 PM

@j-v That file plays quite smoothly for me but if you crop it using Pan/Crop what happens? mine stutters briefly, CPU in Taskmanager shows it,

Former user wrote on 7/9/2022, 7:08 PM

@Markus-Trachsel It sounds like you're mostly attempting to use the HEVC decoder, with your NVIDIA card as GPU decoder (so not using Legacy HEVC decode)

Vegas is broken with your file, there is no GPU decoding of the 10bit files, but you are used to gpu decoding with your 8 bit files. That is most likely why you notice a dramatic difference, you're using the weak low quality Magix HEVC decoder without GPU decoding.

Thanks to great research by forum regular Howard we now know that video produced from HEVC video with Magix GPU decoder is very low quality and you shouldn't be using it if you value quality. In a sense this is a good thing, You should try getting HEVC legacy decoding working with this file or use proxies with legacy, NOT the Magix GPU decoder, or transcode to AVC 10bit. You will also not have GPU decode but because it's AVC It should play fine with your CPU.

The problem with Vegas not being able to GPU decode some 10bit HEVC files goes back years. Before the Sony A7III was released in March 2018, but sample files were available. This problem is over 4 years old, they never bothered fixed it, but I'll say it again, you should not be using the Vegas HEVC GPU decoder, it gives poor quality encodes

Markus-Trachsel wrote on 7/10/2022, 12:11 AM

Dear Membes, thank you very much for your kind answers and deep insight information. I still struggle to understand why my system is not capable of smooth playback of this 10bit file. Is there anything in my system spec that is of poor performance? I score 27'000 on CinebenchR23, so where is the bottleneck on my system compared to others?

Thank you so much for your kind help and best regards,
Markus

Yelandkeil wrote on 7/10/2022, 12:37 AM

27000 is great. the other components?

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Markus-Trachsel wrote on 7/10/2022, 1:04 AM

Thank you very much: Windows 10 64 bit, 64 Gb RAM, Asus_ROG_STRIX_X570_E_Gaming, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, 2x Samsung 980 PRO NVMe 2GB (1 dedicated for OS and Application, 1 dedicated to current video project). Some Harddisk for mass data storage, but they are turned off/standby when not in use.

Last changed by Markus-Trachsel on 7/10/2022, 1:10 AM, changed a total of 1 times.

Vegas Pro 18 (and occasionally 19, but it keeps crashing every minute or so), Windows 10 64 bit, 64 Gb RAM, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, Samsung 980 PRO NVMe 2GB

Yelandkeil wrote on 7/10/2022, 2:17 AM

den letzten Punkt den ich noch ausdenken kann: Resample Mode > Disable Resample.

dann ist mir auch am Ende.

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Markus-Trachsel wrote on 7/10/2022, 2:55 AM

Thank you, I deactivated it but it made none to very little difference. The effect is always that it goes OK for about 20 frames or so, then it stops for another 10 to 20 frames and then continues with the next 20 (skipping the 10 or 20 to keep up with the music). So its just stop and go, stop and go.

Markus-Trachsel wrote on 7/10/2022, 3:10 AM

Dear Members,

for further clarification I made a short video showing how my playback-stutter looks like:

That's what I mean with stop-and-go.

IMPORTANT: the stutter does NOT go away even when playing the same clip multiple times in a row. It does not get cached or so. I know this trick and used it a lot but it does not help here.

First two clips are without any FX-events whatsoever. Third and fourth clip are with LUT-correction in the color control panel.

With best regards,

Markus

Last changed by Markus-Trachsel on 7/10/2022, 3:11 AM, changed a total of 1 times.

Vegas Pro 18 (and occasionally 19, but it keeps crashing every minute or so), Windows 10 64 bit, 64 Gb RAM, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, Samsung 980 PRO NVMe 2GB

Yelandkeil wrote on 7/10/2022, 4:38 AM

Oh no, you threw dust in my eyes before I have seen your demo. That's quite normal for a timeline playback and that's the max performance of a RTX3060Ti.

Or what do you fancy else?

my former graphics card was RX5500XT, also could only view in Good/Quarter, same performance as your N-card.

The new card lifted from quarter (1/16) resolution to half (1/4) resolution for which I paid 969Euro.

Even so, you can judge its performance here - regret? No, the overall performance is huge.

 

Apropos: my mistake! your project is 30fps as your source, thus turn on/off resample just nonsense.

Ap2: for such test it would be better shot on a tripod.

Last changed by Yelandkeil on 7/10/2022, 5:07 AM, changed a total of 1 times.

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Markus-Trachsel wrote on 7/10/2022, 6:36 AM

So what graphics card do I need in my system in order to get butter-smooth H.265 10 bit, color graded, stabilized and cropped video playback with transition effects between clips?

I appologize but I have to mention at this point that davinci resolve plays all these clips with stabilization, color grading and cropping absolutely smooth without any stuttering and no proxy involved.

Last changed by Markus-Trachsel on 7/10/2022, 6:39 AM, changed a total of 4 times.

Vegas Pro 18 (and occasionally 19, but it keeps crashing every minute or so), Windows 10 64 bit, 64 Gb RAM, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, Samsung 980 PRO NVMe 2GB

Former user wrote on 7/10/2022, 6:55 AM

So what graphics card do I need in my system in order to get butter-smooth H.265 10 bit, color graded, stabilized and cropped video playback with transition effects between clips?

I appologize but I have to mention at this point that davinci resolve plays all these clips with stabilization, color grading and cropping absolutely smooth without any stuttering and no proxy involved.


@Markus-Trachsel I have an RTX 3090 SUPRIM @Yelandkeil has an RX6900XT, neither it seems will play as you are wanting, it's not your machine, it's Vegas, as you say about Resolve i can play & edit your file in MEP without a glitch at v good quality preview & full fps playback. PS. Hitfilm Pro doesn't seem to have a prob with your file either.

Yelandkeil wrote on 7/10/2022, 7:05 AM

It's Sunday today.

If you permit, 😁😁 I'll ask tomorrow for you, by God.

 

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Former user wrote on 7/10/2022, 7:06 AM

So what graphics card do I need in my system in order to get butter-smooth H.265 10 bit, color graded, stabilized and cropped video playback with transition effects between clips?

I don't think your sample video can use GPU decode of any discreet GPU, this is a limitation of Vegas. Probably work with the Intel Cards if they ever turn up. The GPU has nothing to do with your playback problem. It's similar to mine. The software is at fault, you don't need to upgrade anything. If you were buying a new computer you would consider 12700 and higher. It's GPU decoder will work with your files.

I've already mentioned you don't want to use the HEVC GPU decoder due to the low quality results, but if you insist get an Intel CPU with a IGPU

I appologize but I have to mention at this point that davinci resolve plays all these clips with stabilization, color grading and cropping absolutely smooth without any stuttering and no proxy involved.

I made a comparison, your sample clip copied 3x on timeline, can see Vegas constantly surging, it is not stable playback

This is the file structure, I wonder if that 15frame GOP syncs in with the surging

Former user wrote on 7/10/2022, 7:17 AM

 

This is the file structure, I wonder if that 15frame GOP syncs in with the surging

@Former user Hi, that's an interesting graph/app, GOP is something i could do with learning more about, have you a link to how you got that? thanks.

Markus-Trachsel wrote on 7/10/2022, 7:33 AM

I don't want to interrupt this discussion but at this point I would like to thank everybody who contribute so much effort and information to my question. So I learned that for the time being I will have to work with proxy and/or ProRes. I was just wondering if I am doing something wrong but apperantely we have to wait for a major update from VEGAS Team, hopefully soon because higher video resultions (5K, 6K even 8K with higer color depth 10bit 4.2.2 etc) is coming fast (well it's already here actually).

So if anybody has some influence on the VEAGS Dev Team, your help is highly appreciated!

With best regards,
Markus

@vkmast thank you for pointing out the VEGAS Team within Magix Company

 

Last changed by Markus-Trachsel on 7/10/2022, 9:05 AM, changed a total of 2 times.

Vegas Pro 18 (and occasionally 19, but it keeps crashing every minute or so), Windows 10 64 bit, 64 Gb RAM, AMD Ryzen 9 5950X 16-Core Processor 4 GHz, NVIDIA GeForce RTX 3060 Ti 8 GB, Samsung 980 PRO NVMe 2GB

vkmast wrote on 7/10/2022, 8:06 AM

Please note that VEGAS Pro is developed by the VEGAS Team. (VEGAS Creative Software is a subsidiary of MAGIX.)

Former user wrote on 7/10/2022, 9:37 PM

 

This is the file structure, I wonder if that 15frame GOP syncs in with the surging

@Former user Hi, that's an interesting graph/app, GOP is something i could do with learning more about, have you a link to how you got that? thanks.

@Former user It's commercial software meant for broadcasters etc, it's not priced for regular users. The GOP info is the only thing I found interesting with it. I have access to it via a ATV organization I"m involved in. The transcoder Shutter Encoder also has this feature, you right click on the file and click GOP structure. The only problem is that it can't always read some GOP's and with others it will remove leading B frames from beginning of a file, possibly believing it to be an error, but it does appear that many files especially from sony begin with 2 leading B frames

Use bitrate viewer to check the bitrate of each frame

Abubakar wrote on 10/29/2022, 2:16 PM

Dear Members,

I would like to kindly ask if anybody of you is able to get a smooth video playback in the video preview window even at draft settings. I use H.265 10 Bit 4K video material from my Olympus O-M1 camera recorded with OM-Log.400. Every other player I have on my PC is able to playback the video material smoothly (windows media player, VCL player, irfanview and Davinci Resolve), but Vegas Pro 19 (or 18) is not able to playback the preview video smoothly even without applying any video events.

Can somebody confirm that smooth playback with H.265 10 bit video material is possible, because I am not getting it to work. Yes, I can convert the material to ProRes HQ and then it runs smoothly but at least to preview the video material in the first place it would be helpful if the timeline playback would be smooth.

Graphics acceleration is enabled on Video and file I/O.

I have an AMD Ryzen 9 5950X 16-Core Processor running at 4.00 GHz with 64 GB of memory and a NVIDIA 3060 Ti 8 GB graphics card. All my files are on Samsung 980 PRO NVMe 2GB. So I don't see an immediate performance bottleneck.

Thank you so much for your kind advise.

With best regards,
Markus

Hi Markus

i just came across your post i hope you have solved your problem if not then try this.

In My Experience Intel is usually the better option for Vegas Pro Especially the 12 Gen Intel Processors. Which Has The best encoders and decoders. But with your Setup and Nvidia 3060Ti Graphics Card you are able to encode and decode H.264 and H.265. The format which Nvidia and AMD cant Decode is (10 Bit H.265 HEVC 422) but your camera only records in (10 Bit H.265 Or HEVC 420) you should be able to edit without any problems.

Open Vegas go to Options Preferences locate the File I/O tab Uncheck Legacy AVC Decoding and Legacy HEVC Decoding. Then go down and check Hardware Decoder to use select NVDEC On Nivdia Geforce RTX 3060Ti.

 

The go to the Video Tab.

Dynamic Ram Preview Max select 30% or less try what works best for you then check

GPU Acceleration of Video Processing Select (NVIDIA Geforce RTX 3060TI)

then check Thumbnails to show in Video Events Select anyone you like Besides ALL.

restart Vegas Pro and try it out. i have tested this on Vegas Pro 19 Build 643 and Vegas Pro 20 Build 214.

Last changed by Abubakar on 10/29/2022, 2:18 PM, changed a total of 2 times.

Intel Core i7 12770K
Nvidia RTX 3060 / Intel Arc A380
Corsair Vengeance DDR5 5200MHz 32 GB
ASUS ProArt Z690 Creative Wifi Motherboard
2 Samsung NVME SSD
Corsair iCUE H100i ELITE CAPELLIX Liquid CPU Cooler
Corsair RM850X Power Supply

Intel Core i5 13600K
Nvidia RTX 3090
Corsair Vengeance DDR5 5200MHz 32 GB
ASUS ProArt Z690 Creative Wifi Motherboard
2 Samsung NVME SSD
Corsair iCUE H100i ELITE CAPELLIX Liquid CPU Cooler
Corsair AX1600i Digital ATX Power Supply 

Former user wrote on 10/29/2022, 9:36 PM
In My Experience Intel is usually the better option for Vegas Pro Especially the 12 Gen Intel Processors. Which Has The best encoders and decoders. But with your Setup and Nvidia 3060Ti Graphics Card you are able to encode and decode H.264 and H.265. The format which Nvidia and AMD cant Decode is (10 Bit H.265 HEVC 422) but your camera only records in (10 Bit H.265 Or HEVC 420) you should be able to edit without any problems.

Open Vegas go to Options Preferences locate the File I/O tab Uncheck Legacy AVC Decoding and Legacy HEVC Decoding. Then go down and check Hardware Decoder to use select NVDEC On Nivdia Geforce RTX 3060Ti.

@Abubakar No that doesn't work, Vegas is broken for many HEVC 10bit formats using Nvidia/Amd GPU decoders, even Vp20b214

Here's a sample file, also for people using an intel IGPU as decoder, can you confirm GPU decoding is working fine for you and it's playing smoothly

https://www.dropbox.com/s/0z083dllkeorif3/om_system_om_1_02.mov?dl=0

Abubakar wrote on 10/29/2022, 11:05 PM

@Former user Hey Todd i work with HEVC files all in (10Bit 422 or 420) from Sony A7IV, GoPro Hero 8, Iphone 13 Pro Max, and even tried Panasonic Lumix S1. The Intel IGPU Decoder works great on all of them never had any issues. Even the File you just send which is .mov my Intel 12700K IGPU is able to decode it perfectly fine i always Edit in Best full quality playback even with the Color Grade on, occasionally switching to Best Half when i edit with duel monitors.

as for Nvidia NVDEC On my Nivdia Geforce RTX 3060 it can decode (10Bit 420) from Panasonic Lumix S1 but it cant seem to decode the file you sent. it works on Intel IGPU but not on Nvidia. your HEVC video is the first (10Bit 420) file which My RTX 3060 Cant seem to decode i never encountered this before.

Intel Core i7 12770K
Nvidia RTX 3060 / Intel Arc A380
Corsair Vengeance DDR5 5200MHz 32 GB
ASUS ProArt Z690 Creative Wifi Motherboard
2 Samsung NVME SSD
Corsair iCUE H100i ELITE CAPELLIX Liquid CPU Cooler
Corsair RM850X Power Supply

Intel Core i5 13600K
Nvidia RTX 3090
Corsair Vengeance DDR5 5200MHz 32 GB
ASUS ProArt Z690 Creative Wifi Motherboard
2 Samsung NVME SSD
Corsair iCUE H100i ELITE CAPELLIX Liquid CPU Cooler
Corsair AX1600i Digital ATX Power Supply