Problem with Aspect Ratios in Vegas Pro 22 (build 121)

JaredF wrote on 9/13/2024, 3:53 PM

I’m having a problem in Vegas Pro 22 I’ve never had in any previous version.

When I create a 3840x2160 project and then import my Canon MFX files that are 4096X2160, the expected behavior is that I’ll see the image in the preview window with thin black bars at the top and bottom. This is correct, and what happens in every other version of Vegas.

But when I open these files in Vegas 22, I don’t get black bars. The images fill the full screen of the preview window and are slightly stretched, incorrectly.

I’ve pinpointed the problem. Choose a video file, then properties, then media. Pixel aspect ratio reads .9375 when it should read 1. Changing the setting to 1.0000 (Square) fixes the problem.

Problem is, I don’t know how to fix all the files like this except to tediously go into properties for each individual file.

Vegas Team, any better fixes?

Comments

mark-y wrote on 9/13/2024, 4:53 PM

You can include the words "Bug Report" in your topic Title to make sure this gets noticed by the right people.

RogerS wrote on 9/13/2024, 7:36 PM

Could you share MediaInfo for the problem file?

I have some Canon MXF and could see if it's similar.

Gid wrote on 9/13/2024, 8:19 PM

@JaredF Select the files you want to change in the Project Media window, right click one of them - Properties, changing the aspect ratio will change all selected.

Vegas Pro 18 - 22
Vegas Pro/Post 19
Boris Continuum & Sapphire, 
Silhouette Standalone + Plugin, 
Mocha Pro Standalone + Plugin, 
Boris Optics,
NewBlue TotalFX
Desktop PC Microsoft Windows 10 Pro - 64-Bit
ASUS PRO WS WRX80E-SAGE SE WIFI AMD Motherboard
AMD Ryzen Threadripper PRO 3975WX 3.5GHz 32 Core
Corsair iCUE H150i RGB PRO XT 360mm All-in-One Liquid CPU Cooler
RAM 256GB ( 8x Micron 32GB (1x 32GB) 2666MHz DDR4 RAM )
2x Western Digital Black SN850 2TB M.2-2280 SSD, 7000MB/s Read, 5100MB/s Write
(programs on one, project files on the other)
Graphics MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU
ASUS ROG Thor 1200W Semi-Modular 80+ Platinum PSU 
Fractal Design Define 7 XL Dark TG Case with 3 Fans
Dell SE3223Q 31.5 Inch 4K UHD (3840x2160) Monitor, 60Hz, & an Acer 24" monitor.

At the moment my filming is done with a Samsung Galaxy S23 Ultra 5G & a GoPro Hero11 Black

I've been a Joiner/Carpenter for 40yrs, apprentice trained time served, I don't have an apprentice of my own so to share my knowledge I put videos on YouTube.

YouTube videos - https://www.youtube.com/c/Gidjoiner

 

jetdv wrote on 9/14/2024, 9:31 AM

This will change EVERY video event on the timeline to a PAR of 1.0. It can be easily modified to work only with selected events.

using ScriptPortal.Vegas;

namespace Test_Script
{
    public class Class1
    {
        public Vegas myVegas;

        public void Main(Vegas vegas)
        {
            myVegas = vegas;

            foreach (Track currentTrack in myVegas.Project.Tracks)
            {
                if (currentTrack.IsVideo())
                {
                    foreach (TrackEvent currentEvent in currentTrack.Events)
                    {
                        VideoStream vs = (VideoStream)currentEvent.ActiveTake.Media.Streams.GetItemByMediaType(MediaType.Video, vEvent.ActiveTake.StreamIndex);

                        vs.PixelAspectRatio = 1.0;
                    }
                }
            }

        }
    }
}

public class EntryPoint
{
    public void FromVegas(Vegas vegas)
    {
        Test_Script.Class1 test = new Test_Script.Class1();
        test.Main(vegas);
    }
}

 

Steve_Rhoden wrote on 9/14/2024, 6:23 PM

@JaredF Its not a bug...... jetdv has provided the perfect solution in the form of a script.

RogerS wrote on 9/14/2024, 6:56 PM

It may well be a bug, what does the MediaInfo say for aspect ratio?

Steve_Rhoden wrote on 9/15/2024, 3:50 AM

@JaredF Also, go into Preferences and under the Editing tab, make sure Automatically crop video files added to timeline and Automatically crop still images added to timeline are both selected.

JaredF wrote on 9/15/2024, 6:36 AM

Here's the mediainfo:

 

Media information
  Stream format: MXF
  Video stream #1
    Video format: AVC
    Resolution: 4096 x 2160 px
    Aspect ratio: 1.896
    Color depth: 10 bit
    Frame rate: 23.976 fps
    Scan type: Progressive
    Bit rate: 400000000 bps
  Audio stream #1
    Audio format: PCM
    Sampling rate: 48000 Hz
    Channels: 1 channel
    Bit rate mode: Constant
    Bit rate: 1152000 bps
  Audio stream #2
    Audio format: PCM
    Sampling rate: 48000 Hz
    Channels: 1 channel
    Bit rate mode: Constant
    Bit rate: 1152000 bps
  Audio stream #3
    Audio format: PCM
    Sampling rate: 48000 Hz
    Channels: 1 channel
    Bit rate mode: Constant
    Bit rate: 1152000 bps
  Audio stream #4
    Audio format: PCM
    Sampling rate: 48000 Hz
    Channels: 1 channel
    Bit rate mode: Constant
    Bit rate: 1152000 bps

Streams
  Video: 00:00:26.109, 23.976 fps progressive, 4096x2160x32, MXF
  Audio: 00:00:26.109, 48000 Hz, 24 Bits, 4 Channels, LPCM

ACID information
  ACID chunk: no
  Stretch chunk: no
  Stretch list: no
  Stretch info2: no
  Beat markers: no
  Detected beats: no

Other metadata
  Regions/markers: no
  Command markers: no

Media manager
  Media tags: no

Plug-In
  Name: mxcompoundplug.dll
  Folder: C:\Program Files\VEGAS\VEGAS Pro 22.0\FileIO Plug-Ins\mxcompoundplug
  Format: MAGIX MXF
  Version: Version 22.0 (Build 122)
  Company: MAGIX Computer Products Intl. Co.

JaredF wrote on 9/15/2024, 6:39 AM

@Gid @JaredF Select the files you want to change in the Project Media window, right click one of them - Properties, changing the aspect ratio will change all selected.

Thanks, this does work. Pretty simple, but still an extra step.