Vegas Pro 20 Distorted video

Brninitdwn wrote on 7/25/2023, 11:09 PM

I just purchased Vegas Pro 20 after using Vegas Pro 14 for years. New videos distort immediately after importing into Vegas and render that way as well, all worked fine in the previous version.

Video output https://i.imgur.com/O7aZG5b.png

Project settings https://i.imgur.com/AFenQxL.png

This is on my Windows 11 system with a Ryzen 5800X and Radeon 5700XT running the driver released today, issue was present in the last driver as well.

This is the file info for the source I am using, it does it on all horizontal videos from my phone. Has anyone run across this before or have any ideas? Thank you for any help!

General
Complete name                            : E:\..........\VID_20230722_224825157.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 213 MiB
Duration                                 : 28 s 228 ms
Overall bit rate                         : 63.2 Mb/s
Frame rate                               : 30.000 FPS
Encoded date                             : 2023-07-23 02:48:54 UTC
Tagged date                              : 2023-07-23 02:48:54 UTC
xyz                                      :
com.android.version                      : 12
com.android.manufacturer                 : motorola
com.android.model                        : motorola edge (2021)

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 28 s 228 ms
Source duration                          : 28 s 227 ms
Bit rate                                 : 62.8 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 30.000 FPS
Minimum frame rate                       : 29.950 FPS
Maximum frame rate                       : 40.071 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.252
Stream size                              : 211 MiB (99%)
Source stream size                       : 211 MiB (99%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : 2023-07-23 02:48:54 UTC
Tagged date                              : 2023-07-23 02:48:54 UTC
Color range                              : Limited
Color primaries                          : BT.2020
colour_primaries_Original                : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.2020 non-constant
matrix_coefficients_Original             : BT.709
mdhd_Duration                            : 28228
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 28 s 193 ms
Source duration                          : 28 s 139 ms
Bit rate mode                            : Constant
Nominal bit rate                         : 256 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
Source stream size                       : 879 KiB (0%)
Title                                    : SoundHandle
Language                                 : English
Encoded date                             : 2023-07-23 02:48:54 UTC
Tagged date                              : 2023-07-23 02:48:54 UTC
mdhd_Duration                            : 28193

 

Comments

RogerS wrote on 7/25/2023, 11:15 PM

The decoding seems to be glitching- maybe due to the variable framerate. What if you try to take one of these files and run it through ShutterEncoder- just use output codec h264 and set the framerate to 30fps and change bitrate to CQ 20 or so. If you bring it into VEGAS are there glitches?

If it works I'd batch re-encode everything. You may also want to change primaries from Rec2020 to Rec709 (colorimetry "convert color space Rec.2020 to Rec 709) otherwise you have to also deal with color gamuts in VEGAS.

Other workarounds are disabling GPU decoding (preferences/ file io) or enabling legacy AVC decoding but those have performance drawbacks.

Former user wrote on 7/26/2023, 12:21 AM

I just purchased Vegas Pro 20 after using Vegas Pro 14 for years. New videos distort immediately after importing into Vegas and render that way as well, all worked fine in the previous version.

Video output https://i.imgur.com/O7aZG5b.png

Project settings https://i.imgur.com/AFenQxL.png

This is on my Windows 11 system with a Ryzen 5800X and Radeon 5700XT running the driver released today, issue was present in the last driver as well.

This is the file info for the source I am using, it does it on all horizontal videos from my phone. Has anyone run across this before or have any ideas? Thank you for any help!

Upload this file or any other that shows this behavior to a file sharing site so others can check they get the same result with different systems and hardware.

 

Wolfgang S. wrote on 7/26/2023, 1:25 AM

Frame rate                               : 30.000 FPS
Minimum frame rate                       : 29.950 FPS
Maximum frame rate                       : 40.071 FPS

This seems to be a funny footage. Variable framerate by 10 fps..

Color primaries                          : BT.2020
colour_primaries_Original                : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.2020 non-constant
matrix_coefficients_Original             : BT.709

And this phone seems to generate a mixture of rec709 and rec2020. Ok

Please upload an example of that footage. But frankly spoken, not sure what can be done here 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

Brninitdwn wrote on 7/26/2023, 9:12 AM

Here's the kicker, I just got to work and the same video displays & renders fine on my i7-4790k and GTX 1050Ti. I'll try the other system tonight, seems like drivers though....

Edit - Both of the workarounds below work from RogerS....thank you. Any ideas on stable driver versions for AMD? It also worked running through Shuttle encoder with the default h264 settings leaving GPU decoding on and legacy AVC off

Other workarounds are disabling GPU decoding (preferences/ file io) or enabling legacy AVC decoding but those have performance drawbacks.

 

Former user wrote on 7/26/2023, 7:51 PM

 

Edit - Both of the workarounds below work from RogerS....thank you. Any ideas on stable driver versions for AMD?

Upload this file or any other that shows this behavior to a file sharing site so others can check they get the same result with different systems and hardware.

Please upload an example of that footage. But frankly spoken, not sure what can be done here really.

I can't help you directly, I have Nvidia, but if your camera file works for an AMD GPU user you may have your answer

RogerS wrote on 7/26/2023, 8:31 PM

Sorry, both my systems are Intel/NVIDIA, too, but I'd recommend a recent driver and just run the files through ShutterEncoder for use in VEGAS.

Avoiding variable framerate footage will help you regardless of hardware as you may have stability issues with NVIDIA and variable framerate footage, even if it seems to work at first.

Last changed by RogerS on 7/26/2023, 8:32 PM, changed a total of 1 times.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.239

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

Brninitdwn wrote on 7/26/2023, 9:25 PM

I wish there was a setting to force the framerate on that phone, but nothing for now. Heres one if anyone wants to check it out, same issue just vertical

Thank you all for the input!

RogerS wrote on 7/26/2023, 9:28 PM

It decodes okay with my laptop Intel iGPU, legacy AVC off but that is as expected.

Playback seems a little choppy (preview window says it's at 29.97) but in reality it's:

Frame rate                     : 29.705 FPS
Minimum frame rate             : 7.513 FPS
Maximum frame rate             : 39.982 FPS
Original frame rate            : 30.000 FPS

fr0sty wrote on 7/26/2023, 10:38 PM

If there's an HDR setting for that phone, I'd recommend turning it off, as it isn't even actually recording in HDR... it says it's in Rec2020, but that underneath it all, it's actually Rec709 (SDR). Look here:

Color range                              : Limited (should be full for HDR)


Color primaries                          : BT.2020 (this is correct for HDR)


colour_primaries_Original                : BT.709

(this is SDR, which means it's faking HDR color primaries from an SDR source)


Transfer characteristics                 : BT.709 (SDR)


Matrix coefficients                      : BT.2020 non-constant


matrix_coefficients_Original             : BT.709 (SDR)

So it's just giving you fake HDR from an SDR source... I'd just turn HDR off, as it's bloating your file size for no additional gain.

 

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Reyfox wrote on 7/27/2023, 7:52 AM

@Brninitdwn, I just used Handbrake to convert your footage to a Constant Frame Rate, and it plays back just fine in Vegas. Otherwise, playing back the original footage, lots of tearing of the video.

Here is a LINK to the file converted with Handbrake on my Google Drive.

Last changed by Reyfox on 7/27/2023, 7:55 AM, changed a total of 1 times.

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

RogerS wrote on 7/27/2023, 8:14 AM

Interesting, so seems like the issue is consistent with AMD GPU users.

Reyfox wrote on 7/27/2023, 8:31 AM

@RogerS after turning off GPU in the Preferences>Video and I/O, the file plays back fine.

Brninitdwn wrote on 7/27/2023, 2:33 PM

@fr0sty I wish there was an option for that in video, it only lets me set 4K or FHD. It is set to 30FPS as 60FPS is only available via FHD. The HDR option is off for photos

@Reyfox thank you for confirming, your converted file works fine with the GPU decoding still enabled.

@RogerS Thanks for checking, I'm working with their support now to see if we can pin down the issue.

EDIT...The 11/30/22 version of the driver does not have this issue.

Former user wrote on 7/27/2023, 2:48 PM

Just to add my testing, AMD CPU (no integrated graphics) Nvidia GPU, that Portrait clip of the car plays fine on my Vegas,

RogerS wrote on 7/27/2023, 7:09 PM

Is the 11.30 driver the pro one?

Brninitdwn wrote on 7/27/2023, 10:40 PM

Nope it is the standard driver, version 22.11.2. The current version is 23.7.2, the previous (assuming 23.7.1) and 23.4.3 from April 20th have the problem.

RogerS wrote on 7/27/2023, 10:44 PM

Great testing, I hope AMD uses this info to fix it.

Reyfox wrote on 7/28/2023, 9:14 AM

Nope it is the standard driver, version 22.11.2. The current version is 23.7.2, the previous (assuming 23.7.1) and 23.4.3 from April 20th have the problem.

Sorry, at this moment, at least with my computer spec'ed in my signature, I have to turn off GPU acceleration to play back the file. It doesn't matter what driver used for the AMD GPU.

Brninitdwn wrote on 7/29/2023, 8:59 PM

Nope it is the standard driver, version 22.11.2. The current version is 23.7.2, the previous (assuming 23.7.1) and 23.4.3 from April 20th have the problem.

Sorry, at this moment, at least with my computer spec'ed in my signature, I have to turn off GPU acceleration to play back the file. It doesn't matter what driver used for the AMD GPU.

Thanks, I sent in a bug report so hopefully they will get it sorted!

mark-y wrote on 7/29/2023, 9:27 PM

REC 709 Limited footage at 4k resolution is fairly common. I believe the 'B.T. 2020 / 709 Limited' metadata just states that it is UHD, but non-HDR and non-HLG. I don't believe that is part of the Preview (Playback) distortion he has illustrated.