Center Horizontally?

Kit wrote on 10/22/2014, 6:17 AM
Does Vegas have any centering tools? My screen is 1920 wide and I have an image 1270 wide and I want to align it to the center of the screen, horizontally. My math is terrible and all the formulas I've tried end up with it off to one side. I'm so used to CorelDraw where I just press a button to centre an object. Someone please put me out of my misery. Thanks. Sorry, by screen I mean project.

Comments

OldSmoke wrote on 10/22/2014, 6:36 AM
Do you mean putting a 1270 pixel wide image on a 1920x1080 timeline? As far as I know, all images dropped on the timeline are centered by default.

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

Dexcon wrote on 10/22/2014, 7:06 AM
Like OldSmoke, I've always found that images always self-centre in VP.

Perhaps Pan/Crop or Track Motion settings could help you manually correct anything that isn't centred by default.

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 19.0.3, 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

Kit wrote on 10/22/2014, 8:16 AM
Yes - sort of. I've used pan to move the image around the screen and now I want to return it back to the horizontal centre. There doesn't seem to be a straight forward method.
john_dennis wrote on 10/22/2014, 8:26 AM
In the Pan/Crop Fx Position entry field, enter half the project horizontal pixel dimension into the X Center field. In the example of 1920 pixels wide, enter 960.

Make sure the Show Properties button is depressed.
rraud wrote on 10/22/2014, 8:28 AM
By defaut the image should be centered. There is an icon that centers the image in the pan-crop window among others.
Chienworks wrote on 10/22/2014, 8:36 AM
More generally than trying to do the math, in the keyframe in which you want to return to center right-mouse-button click inside the framing rectangle and choose "reset".
Gary James wrote on 10/22/2014, 8:59 AM
"Yes - sort of. I've used pan to move the image around the screen and now I want to return it back to the horizontal centre. There doesn't seem to be a straight forward method."

To Restore your Pan / Crop settings back to the default values that Vegas assigned when the image was imported to the Timeline, simply Right-Click on the Image in the Pan / Crop window, and select Restore. But also make sure there are no EXTRA Keyframes present that will change the Pan / Crop settings further down the timeline.

Kit wrote on 10/22/2014, 6:09 PM
Thanks, that was my first try. It doesn't work. This leads to the image being to the right of center (therefore showing on the left).
Kit wrote on 10/22/2014, 6:15 PM
Thanks but I only want to center the image horizontally. Your suggestion changes the size and total position. I should say that the original still was 1746 x 960 but has been altered further back down the timeline with a keyframe.
Gary James wrote on 10/22/2014, 8:08 PM
Kit, when you say "Center the Image", are you talking about centering the entire image on screen so the physical center pixel in the image is physically centered on screen? Or are you referring to moving an Object inside the image so the Object is centered on the screen, even though it may be physically offset within the image?

What everyone here has been talking about is physically placing the center pixel of the image to the physical center point on the screen given the project width and height in pixels.
Kit wrote on 10/23/2014, 1:44 AM
Hi Gary, I don't follow what you mean when you say object. The image is a still of a ball, It's a png with transparency 1746 by 960 pixels. When the image is brought into Vegas the ball is centered horizontally. That's fine. I've used pan/crop and key frames to move the ball round the screen and in doing so zoomed so that it is now 1270 wide. With this width I want to move the image so that it is centered horizontally in the screen.