Experimental HEVC and GoPro 11 footage = Higher Memory Utilization

RedRob-CandlelightProdctns wrote on 5/29/2024, 6:36 PM

I couldn't understand why a few recent projects have nearly exhausted my 32 GB of RAM, and caused crashes (which happen when Windows reports usage over 70% RAM).

I realized that besides the normal media we edit, they included GoPro11 1080p content which apparently uses HEVC.

When the project loads (zero effects, just footage from 4 cameras -- 3 being 1080 and 1 being 4K, memory jumped to 66% usage on my Windows box, the majority from Vegas (exiting Vegas it drops to 16%).

Turning off "Enable Experimental HEVC Decoding", exiting and re-launching, memory is only at 55%.

Something about the experimental HEVC decoding causes lots more RAM to be used!

Just thought I'd share.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

Comments

RogerS wrote on 5/29/2024, 7:17 PM

Which GPU is doing the decoding? I've seen very high ram usage in general with QSV as my iGPU uses system ram and Windows allocates a lot to it.

Also experimental HEVC should be on its way out before long.

RedRob-CandlelightProdctns wrote on 5/29/2024, 7:52 PM

Hardware Decoder is indeed Intel -- Intel HD Graphics 630.

I use that to decode as it does a speedy-enough job, and keep my RX470 for "GPU acceleration of video processing" -- which I sometimes disable depending on project and stability.

I'd never noticed the RAM difference since we haven't frequently use the Hero 11 in our setups, preferring our older Osmo Action. The OA doesn't do *as* well in low light and has a few less features, but it's been extremely stable with lovely imaging otherwise, stability not being something I can say for the Hero lineup since Hero 5's.

Last changed by RedRob-CandlelightProdctns on 5/29/2024, 7:54 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

mark-y wrote on 5/29/2024, 10:28 PM

Creating a proxy or DI for GoPro is a pretty standard recommendation. Unfortunately, formats designed for acquisition don't lend themselves very well to editing or delivery.

RedRob-CandlelightProdctns wrote on 5/29/2024, 10:35 PM

Oh -- I totally understand the need for proxies in some situations.
That's not this situation.

This post is simply to point out that using the Experimental HEVC Decoding has some serious RAM costs that can affect system stability.

We can edit the GoPro footage just fine on our newer laptop, and on my desktop when that setting is disabled. THAT said, if I had many H.265 cameras to work in our multi-cam flow, I suspect proxies would more likely be needed.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

mark-y wrote on 5/29/2024, 10:51 PM

Thanks for clarifying.

RogerS wrote on 5/30/2024, 12:08 AM

Hardware Decoder is indeed Intel -- Intel HD Graphics 630.

I use that to decode as it does a speedy-enough job, and keep my RX470 for "GPU acceleration of video processing" -- which I sometimes disable depending on project and stability.

I'd never noticed the RAM difference since we haven't frequently use the Hero 11 in our setups, preferring our older Osmo Action. The OA doesn't do *as* well in low light and has a few less features, but it's been extremely stable with lovely imaging otherwise, stability not being something I can say for the Hero lineup since Hero 5's.

I noticed a huge ram usage increase in VP21.300 and up with QSV on my laptop which led to just about running out of memory with my 32GB of ram. I also noticed performance drops with MxCompound and QSV vs 208 with so4compound.

I am using NVDEC and MxCompound with 315 as it seems like the best combination at present for my systems and media. It uses VRAM vs system ram.

RedRob-CandlelightProdctns wrote on 5/30/2024, 4:20 PM

@RogerS For those following along -- which buttons enable MxCompound vs socompound? ;-)

Last changed by RedRob-CandlelightProdctns on 5/30/2024, 4:20 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 5/30/2024, 10:25 PM

Default file io decoding settings in VP 21.300+ use the MxCompound decoder. Check the legacy AVC/experimental HEVC box and you get so4compound. You can see yourself looking at the properties for media in VEGAS.

RedRob-CandlelightProdctns wrote on 6/1/2024, 8:42 PM

Hardware Decoder is indeed Intel -- Intel HD Graphics 630.

I use that to decode as it does a speedy-enough job, and keep my RX470 for "GPU acceleration of video processing" -- which I sometimes disable depending on project and stability.

I'd never noticed the RAM difference since we haven't frequently use the Hero 11 in our setups, preferring our older Osmo Action. The OA doesn't do *as* well in low light and has a few less features, but it's been extremely stable with lovely imaging otherwise, stability not being something I can say for the Hero lineup since Hero 5's.

I noticed a huge ram usage increase in VP21.300 and up with QSV on my laptop which led to just about running out of memory with my 32GB of ram. I also noticed performance drops with MxCompound and QSV vs 208 with so4compound.

I am using NVDEC and MxCompound with 315 as it seems like the best combination at present for my systems and media. It uses VRAM vs system ram.

Thanks for the tip on QSV. My Dell laptop with a RTX3070 Ti and Intel Iris Xe just completed a 1 day+ render, with memory utilization exceeding 85% (not a good thing) but it finished at a snails pace! Turns out, 17 minutes into the 2.5 hour show render, all I got was a black screen. :( Turned off the Iris decoding and re-rendering now. CPU is higher.. NVideo utilization way higher since I'm using it for decoding, but memory usage seems to be way lower (currently -- was 39% at start of render... currently climbed to 41%)

The reason for the Loooong render time is I set frame re-render to Optical Flow. Why? Two of our cams were shot 1080p60; one was shot 4Kp30. Rendering to 1080p60. In a test render, found the 4Kp30 footage looked best at 1080p60 when using Optical Flow... but mannn... it slows things down when that camera's clips are used!

Last changed by RedRob-CandlelightProdctns on 6/1/2024, 8:45 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RedRob-CandlelightProdctns wrote on 6/2/2024, 1:01 AM

Quick Update for the record keepers -- re-render just took 5h40m and memory held at 41% usage.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio