Vegas PRO 17 lagging, and using a lot of CPU (85%-99%)

tradebug wrote on 10/31/2023, 8:24 AM

So this started today, when I wanted to edit a video, my Vegas was really laggy and using a lot of CPU, although, I have a relatively good computer (AMD Ryzen 3 3200G, 16GB RAM).

This started really randomly, because the other day I was editing another video with no problem. I tried reastarting my computer, but nothing changed and I tried most of the stuff I read here and other sites.

Comments

RogerS wrote on 11/1/2023, 12:08 AM

The difference is likely the media, not VEGAS.

Can you share MediaInfo for the main types you are using: https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Reyfox wrote on 11/1/2023, 7:56 AM

Your CPU has integrated RX Vega 8 with 8 cores. On the scale of computing performance, the 3200G is relatively low. You might try updating the graphics driver (the latest is 23.9.2), unless Windows did this automatically.

There was a Windows update the other day....

Also, as @RogerS, media... what are you editing.

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.2

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

tradebug wrote on 11/1/2023, 8:06 AM

Your CPU has integrated RX Vega 8 with 8 cores. On the scale of computing performance, the 3200G is relatively low. You might try updating the graphics driver (the latest is 23.9.2), unless Windows did this automatically.

There was a Windows update the other day....

Also, as @RogerS, media... what are you editing.

General
Complete name                            : C:\Users\Ati\Videos\2023-10-30 23-36-45.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/mp41)
File size                                : 2.79 GiB
Duration                                 : 2 h 31 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 633 kb/s
Frame rate                               : 30.000 FPS
Writing application                      : Lavf60.3.100

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L6.2@Main
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 2 h 31 min
Bit rate                                 : 2 502 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.090
Stream size                              : 2.65 GiB (95%)
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : hvcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 2 h 31 min
Bit rate mode                            : Variable
Bit rate                                 : 124 kb/s
Maximum bit rate                         : 160 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                              : 135 MiB (5%)
Title                                    : Track1
Default                                  : Yes
Alternate group                          : 1

tradebug wrote on 11/1/2023, 8:07 AM

The difference is likely the media, not VEGAS.

Can you share MediaInfo for the main types you are using: https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Of course

 

General
Complete name                            : C:\Users\Ati\Videos\2023-10-30 23-36-45.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/mp41)
File size                                : 2.79 GiB
Duration                                 : 2 h 31 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 633 kb/s
Frame rate                               : 30.000 FPS
Writing application                      : Lavf60.3.100

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L6.2@Main
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 2 h 31 min
Bit rate                                 : 2 502 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.090
Stream size                              : 2.65 GiB (95%)
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : hvcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 2 h 31 min
Bit rate mode                            : Variable
Bit rate                                 : 124 kb/s
Maximum bit rate                         : 160 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                              : 135 MiB (5%)
Title                                    : Track1
Default                                  : Yes
Alternate group                          : 1

RogerS wrote on 11/1/2023, 8:12 AM

It's 30fps 720p HEVC. Is it a screen capture? If so can you share how you did it? If there are options for GOP length/ keyframe interval try to keep it to the framerate (so 30 or 1 second worth).

Under preferences file io, did you try both the legacy and non-legacy HEVC decoder?

Do you have a GPU?

 

Reyfox wrote on 11/1/2023, 8:26 AM

You are using an AMD APU, which has integrated, Vega graphics. I did ask about the driver for it. Your integrated GPU can encode/decode H265 8bit/10bit.

I do not know if Vegas can detect your APU, but can you make sure that in Preferences, Video and File I/O tab that it can be selected?

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.2

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

tradebug wrote on 11/1/2023, 9:50 AM

It's 30fps 720p HEVC. Is it a screen capture? If so can you share how you did it? If there are options for GOP length/ keyframe interval try to keep it to the framerate (so 30 or 1 second worth).

Under preferences file io, did you try both the legacy and non-legacy HEVC decoder?

Do you have a GPU?

 

Yes, It's a recording of me playing a game using OBS. I didn't find settings for that.

Yes, I tried it just now, and still laggy. But oddly, the project is only lagging when I drag in like a 2 and a half hour recording and cut clips from it. Could that do something?

Yes, but It's integrated.

tradebug wrote on 11/1/2023, 9:52 AM

You are using an AMD APU, which has integrated, Vega graphics. I did ask about the driver for it. Your integrated GPU can encode/decode H265 8bit/10bit.

I do not know if Vegas can detect your APU, but can you make sure that in Preferences, Video and File I/O tab that it can be selected?

Yep, It detected it, I set it that, and still the same.

RogerS wrote on 11/1/2023, 10:26 AM

For OBS try AVC over HEVC and set keyint to1 instead of 0 (automatic).

mark-y wrote on 11/1/2023, 10:39 AM

For OBS try AVC over HEVC and set keyint to1 instead of 0 (automatic).

+1

tradebug wrote on 11/1/2023, 10:56 AM

For OBS try AVC over HEVC and set keyint to1 instead of 0 (automatic).

Okay. I'll try for my next recording and write and update later. Thanks for the help for you and @Reyfox

Robert Johnston wrote on 11/1/2023, 5:00 PM

@RogerS @tradebug  I didn't realize that when recording in OBS, if Keyframe Interval is set to 0, there are 250 frames in a GOP. I used VideoRedo to take a look. No wonder I couldn't edit it in Vegas as is. The same with software that came with the OBSBOT Meet 4K webcam. I could use myFFMPEG or Shutter Encoder or VideoRedo to convert it to AVC with 30 frames in a GOP, which is a major recode. I've now changed my OBS settings for recording to what RogerS has suggested.

Intel Core i7 10700K CPU @ 3.80GHz (to 4.65GHz), NVIDIA GeForce RTX 2060 SUPER 8GBytes. Memory 32 GBytes DDR4. Also Intel UHD Graphics 630. Mainboard: Dell Inc. PCI-Express 3.0 (8.0 GT/s) Comet Lake. Bench CPU Multi Thread: 5500.5 per CPU-Z.

Vegas Pro 21.0 (Build 108) with Mocha Vegas

Windows 11 not pro