Slow render or GPU not accelerated? - Vegas 15 PRO

SGvagon wrote on 11/13/2020, 4:47 AM

Hello,

 

I have Vegas PRO 15 and try render my movie. But, if I put videos from my phone or 720p MP4 files to Vegas, editing is very laggy and render takes years to complete ( 100% CPU and 5-10% of GPU usage ) . I think, that this problem is somewhere in Vegas.

My PC spec is:
Intel Core i5 6500
Nvidia GTX970 4GB
16 GB RAM
250GB SSD WD Blue + 1TB Seagate Barracuda 7200
Windows 7 PRO x64bit

Videos from Z3 Compact is in 1080p 60 FPS, here is MediaInfo

General
Complete name               : C:\Users\PC\Desktop\MOV_0069.mp4
Format                      : MPEG-4
Format profile              : Base Media
Codec ID                    : isom (isom/3gp4)
File size                   : 3.09 GiB
Duration                    : 14 min 39 s
Overall bit rate            : 30.2 Mb/s
Encoded date                : UTC 2020-11-13 06:53:05
Tagged date                 : UTC 2020-11-13 06:53:05Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.2
Format settings             : CABAC / 1 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 1 frame
Format settings, GOP        : M=1, N=36
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 14 min 39 s
Bit rate                    : 30.0 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Variable
Frame rate                  : 59.369 FPS
Minimum frame rate          : 58.215 FPS
Maximum frame rate          : 60.647 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.244
Stream size                 : 3.07 GiB (99%)
Title                       : VideoHandle
Language                    : English
Encoded date                : UTC 2020-11-13 06:53:05
Tagged date                 : UTC 2020-11-13 06:53:05
Codec configuration box     : avcCAudio
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 14 min 39 s
Bit rate mode               : Constant
Bit rate                    : 156 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 16.4 MiB (1%)
Title                       : SoundHandle
Language                    : English
Encoded date                : UTC 2020-11-13 06:53:05
Tagged date                 : UTC 2020-11-13 06:53:05

MP4 720p files here

General
Complete name               : C:\Users\PC\Desktop\Untitled.mp4
Format                      : MPEG-4
Format profile              : Base Media / Version 2
Codec ID                    : mp42 (isom/mp42)
File size                   : 91.2 MiB
Duration                    : 59 s 843 ms
Overall bit rate mode       : Variable
Overall bit rate            : 12.8 Mb/s
Encoded date                : UTC 2020-11-13 10:49:16
Tagged date                 : UTC 2020-11-13 10:49:16Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.2
Format settings             : CABAC / 1 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 1 frame
Format settings, GOP        : M=1, N=30
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 59 s 843 ms
Bit rate                    : 12.6 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 59.940 (60000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.101
Stream size                 : 89.9 MiB (98%)
Language                    : English
Encoded date                : UTC 2020-11-13 10:49:17
Tagged date                 : UTC 2020-11-13 10:49:17
Codec configuration box     : avcCAudio
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 59 s 840 ms
Bit rate mode               : Variable
Bit rate                    : 192 kb/s
Maximum bit rate            : 320 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 1.35 MiB (1%)
Language                    : English
Encoded date                : UTC 2020-11-13 10:49:17
Tagged date                 : UTC 2020-11-13 10:49:17

It must be problem in these files or GPU acceleration. On AVC render it shows No GPU available .

 

Is this problem solvable? Thank you in advance.

Comments

Dexcon wrote on 11/13/2020, 4:55 AM

The most likely reason is that the video has a Variable Frame Rate (VFR). VFR is not a favourite of Vegas Pro. There is a long history of this on the forum - perhaps do a forum search re variable frame rate.

The most offered resolution is to transcode the video to Constant Frame Rate. Many ways of doing this are offered in previous posts.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

SGvagon wrote on 11/13/2020, 5:35 AM

I see, that maybe is an issue. And what is the quicker solution to fix that? Or is it normal, that CPU is on 100% while rendering these VFR files?

Dexcon wrote on 11/13/2020, 5:52 AM

that maybe is an issue

It's probably more than 'maybe'.

Or is it normal, that CPU is on 100% while rendering these VFR files?

Vegas Pro uses CPU much more than GPU for rendering other than HEVC and one other, though others on the forum will be in a much better position to comment on this issue.

 

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

j-v wrote on 11/13/2020, 5:55 AM

@SGvagon
Which build of VPro 15 do you use, the latest and best is 416
If you don't see a GPU in the program I think you have to update your Nvidia drivers to the latest available, that is the 457.30  WHQL of 2020.11.9
To overcom the variable framerate of the FHD file(s?) you have to convert them to constant Bitrate in a conversion program as the free Handbrake you find here https://handbrake.fr/

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)

 

SGvagon wrote on 11/13/2020, 6:07 AM

@j-v I am using this latest build 416.
I see GPU in Vegas option, but for example in AVC render if I click on Check GPU, it says that I haven't got any GPU

And I have actually 457.09 Nvidia driver. So I try update it on the actual 457.30 if this helps.

I render now 3 minute video almost 30 minutes to MAGIX AVC/AAC MP4 - Internet HD 1080p 59.94 fps (NVIDIA NVENC) 😐 .

j-v wrote on 11/13/2020, 6:14 AM

Sony AVC is already a very old codec used in many Vegas programs before 15.
What you now are doing by using the Magix AVC is the best option for you at this time.
For faster rendering with CPU and GPU you need other and better hardware as CPU and Nvidia GPU's and the latest Vegas Pro 18

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)

 

Dexcon wrote on 11/13/2020, 6:19 AM

I see GPU in Vegas option, but for example in AVC render if I click on Check GPU, it says that I haven't got any GPU

Very likely because GPU is simply not available for that render option. If it were available, it would provide a field option. It shouldn't be taken as there is no GPU on your computer, its just that its not available for that render option. Please remember that Sony render options pre-date GPU accessibility in Vegas Pro AFAIK.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

SGvagon wrote on 11/13/2020, 11:18 AM

And what about this software https://www.voukoder.org/ ? What I see, its little bit harder to set it up, but redner should be two-three times faster.

j-v wrote on 11/13/2020, 11:26 AM

Try it, nothing wrong with in VPro 18 and works well

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)

 

lenard wrote on 11/13/2020, 5:37 PM

Do you have intel quick sync decoding turned on?

That will make things go faster, I think there's also Nvenc hardware encoding in v15 if you did want to GPU encode

SGvagon wrote on 11/14/2020, 2:32 PM

@lenard I have there only Intel HEVC, and it slow too on this various framerate.

I found quick solution with FFMPEG script, which encode these files to constant bitrate.

ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -r 59.94 output.mp4

Vegas then rendering much faster.

lenard wrote on 11/14/2020, 5:51 PM

with vp15, the only hardware decoder is using intel quicksync, and with your generation of CPU I believe you must have your motherboard video port (as opposed to Nvidia video card) connected to a monitor or a dummy monitor plug for it work. That will reduce load on your cpu too

Musicvid wrote on 11/14/2020, 6:25 PM

Your need to correct the Variable Frame Rate for Vegas 15 comes first. It is not trivial.

Recode to Constant Frame Rate, Same as Source, in Handbrake.

Drop back in, and we'll take it from there. The rest of the speculation offered about GPU is ridiculous until you have corrected that single, overriding issue.

Howard-Vigorita wrote on 11/15/2020, 4:01 PM

I found quick solution with FFMPEG script, which encode these files to constant bitrate.

ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -r 59.94 output.mp4

Vegas then rendering much faster.

@SGvagon Nice. Filing that one away... probably as optimal a fix as there is.

lenard wrote on 11/15/2020, 5:39 PM

I found quick solution with FFMPEG script, which encode these files to constant bitrate.

ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -r 59.94 output.mp4

Vegas then rendering much faster.

@SGvagon Nice. Filing that one away... probably as optimal a fix as there is.

Would anyone know how to increase the quality of this setting?

I tried it on aa 4k 75mbit/s AVC, the encode is 3.5mbit/s and looks like the pixilated mess you would expect. I have not had good luck at all with NVENC and VegasPro18. It doesn't matter if output is from OBS or Handbrake, or media info says CBR or VFR, so this interests me, but I don't know command line

JN- wrote on 11/15/2020, 6:59 PM

@lenard “Would anyone know how to increase the quality of this setting?”

The link in my profile to VFR2CFR zip allows quality increase/decrease. You can also add into your syntax -cq n where n default is I think 23, lower numbers are higher quality, 18 say, will normally give a much bigger file than original, but high quality.

This is what I use in VFR2CFR...

ffmpeg %_DFPDISPLAY% -y -i "%~1" -pix_fmt yuv420p -c:v h264_nvenc -rc:v vbr_hq -b:v 100M -g %_GOPLENGTH% -cq %_CQ% -bf:v %_BFRAMES% -r %_FPS% %_AUDIO% "%~n1"-[CFR].mp4

 

Obviously these are just my own named variables below, but you get the idea ...

%_DFPDISPLAY% %_GOPLENGTH% %_CQ% %_BFRAMES% %_FPS% %_AUDIO%

 

Last changed by JN- on 11/16/2020, 8:16 AM, changed a total of 3 times.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

JN- wrote on 11/15/2020, 7:29 PM

@lenard I've added in the batch file I originally used 03 ... .bat, you can use that also, just make the necessary changes if any are required. The REM comments at the start of the file explain what to change.

I found that using -CQ gave slightly better quality than -QP. So the syntax you use is faster than what I use.

When using -CQ, it's important to use -b:v 100M also, for my syntax.

Last changed by JN- on 11/16/2020, 8:15 AM, changed a total of 3 times.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

Howard-Vigorita wrote on 11/15/2020, 10:27 PM

@lenard The ffmpeg h264_nvenc encoder presets for quality are:

  -preset            <int>        E..V...... Set the encoding preset (from 0 to 18) (default p4)
     default         0            E..V......
     slow            1            E..V...... hq 2 passes
     medium          2            E..V...... hq 1 pass
     fast            3            E..V...... hp 1 pass
     hp              4            E..V......
     hq              5            E..V......
     bd              6            E..V......
     ll              7            E..V...... low latency
     llhq            8            E..V...... low latency hq
     llhp            9            E..V...... low latency hp
     lossless        10           E..V......
     losslesshp      11           E..V......
     p1              12           E..V...... fastest (lowest quality)
     p2              13           E..V...... faster (lower quality)
     p3              14           E..V...... fast (low quality)
     p4              15           E..V...... medium (default)
     p5              16           E..V...... slow (good quality)
     p6              17           E..V...... slower (better quality)
     p7              18           E..V...... slowest (best quality)

You can list all the options with this command:

ffmpeg -h encoder=h264_nvenc

 

JN- wrote on 11/16/2020, 10:06 AM

I made some small changes to VFR2CFR.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

fifonik wrote on 11/16/2020, 9:48 PM

I would never use 264 HW encoder for intermediate.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B650P, CPU: AMD Ryzen 9700X, RAM: G'Skill 32 GB DDR5@6000, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

SGvagon wrote on 11/20/2020, 8:38 PM

Ok I have good news guys. This slow render doing default Project properties, where was Field order on Upper field first. So I set it up on None (progressive scan) , and now I can render original files with variable framerates much quicker than before (from hours it almost realtime now) .

So I shouldn't use FFMPEG before editing and rendering in Vegas. I can use raw files from my phone now. It is strange, but it works guys, only Field order did this slowness render and edit.