How to center a cropped video?

debojitacharjee wrote on 10/1/2022, 4:58 AM

I want to crop a video at different sections in the timeline, and I want to crop the left part of a few frames and then right. But after cropping the cropped video appears exactly where it was cropped (left for left cropped and right for right cropped). How can I make the cropped video to appear at the center like a normal video with the cropped aspect ratio?

Comments

Musicvid wrote on 10/1/2022, 10:40 AM

Use Pan/Crop to crop, use Track Motion to move.

debojitacharjee wrote on 10/2/2022, 12:24 AM

 I don't want to move the cropped frame. What I am saying is that in some video converters like MovAvi, when you crop any part of the video frame, the cropped frame becomes the only video frame, no matter on which area on the screen it was cropped. For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

narutoonepiece wrote on 10/2/2022, 12:33 AM

Do you mean you hope Vegas auto fit project resolution to your cropped video event? This will be a good feature request! But now Vegas can't do that automatically.

walter-i. wrote on 10/2/2022, 2:40 AM

Do you mean you hope Vegas auto fit project resolution to your cropped video event? This will be a good feature request! But now Vegas can't do that automatically.

But this should only be optional, I don't want it to be like this automatically - it happens to me a hundred times more that I want to display an event in a smaller size for various reasons.

3POINT wrote on 10/2/2022, 3:37 AM

For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

Just resize your project settings, after cropping, to the cropped resolution (607x1080). You also need to adjust a rendertemplate to this new resolution (or use Voukoder to render, which will adept the project resolution) but keep in mind that not every resolution is accepted, at least it must by dividable through 2 or 4 (608x1080 is accepted).

Gid wrote on 10/2/2022, 9:10 AM

@debojitacharjee Use Pan/Crop to crop your clip, make sure Stretch to fill frame is ticked if you want it to fill the screen,,

If you want the resolution of the Project to change you'll have to go to Project Properties after cropping & change it as i have done in the third pic (size shows bottom left of the preview), Position at the top of the Pan/Crop controls tells you the sizes you need, ,

Last changed by Gid on 10/2/2022, 9:16 AM, changed a total of 2 times.

Vegas Pro 20
Vegas Pro/Post 19 (Latest build), HitFilm Pro,  
Magix Movie Studio Platinum 2023 - from 2004-ish - Latest version,
Magix VPX14
Adobe After Effects
Boris Continuum & Sapphire, 
Silhouette Standalone + Plugin, 
Mocha Pro Standalone + Plugin, 
Boris Optics,
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

I'm 54, I've been a UK joiner for 38yrs, apprentice trained & time served, I make videos about my work & post them on Youtube so that i can share what I've learnt over the yrs,
https://www.youtube.com/c/Gidjoiner

At the moment my filming is done with a Samsung Galaxy S21 Ultra 5G
 

john_dennis wrote on 10/2/2022, 11:14 AM

@debojitacharjee

 I don't want to move the cropped frame. What I am saying is that in some video converters like MovAvi, when you crop any part of the video frame, the cropped frame becomes the only video frame, no matter on which area on the screen it was cropped. For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

Your peers on the Vegas Professional forum have answered your question by explaining how the process works.

Pick 1 and invest the effort required to become an expert.

My main system:
Motherboard: Asus X99-AII
CPU: Intel i7-6850K
GPU: Sapphire Radeon RX480-8GB
RAM: Corsair Dominator (4 x 4 GB) DDR4 2400
Disk O/S & Programs: Intel SSD 750 (400 GB)
Disk Active Projects: 1TB & 2TB WD BLACK SN750 NVMe Internal PCI Express 3.0 x4 Solid State Drives
Disk Other: WD Ultrastar/Hitachi Hard Drives: WDBBUR0080BNC-WRSN, HGST HUH728080ALE600, 724040ALE640, HDS3020BLA642
Case: LIAN LI PC-90 Black Aluminum ATX Full Tower Case
CPU cooling: Corsair Hydro series H115i
Power supply: SeaSonic SS-750KM3 750W 80 PLUS GOLD Certified Full Modular Active PFC Power Supply
Drive Bay: Kingwin KF-256-BK 2.5" and 3.5" Trayless Hot Swap Rack with USB 3
Sound card: Crystal Sound 3 on motherboard. Recording done on another system.
Primary Monitor: Asus ProArt PA248q (24" 1920 x 1200)
O/S: Windows 10 Pro 22H2, Build 19045.2130

Camera: Sony RX10 Model IV

https://www.youtube.com/user/thedennischannel

debojitacharjee wrote on 10/2/2022, 11:44 PM

Do you mean you hope Vegas auto fit project resolution to your cropped video event? This will be a good feature request! But now Vegas can't do that automatically.

Yes, that's what I want - the cropped video should be the output video resolution.

debojitacharjee wrote on 10/2/2022, 11:51 PM

For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

Just resize your project settings, after cropping, to the cropped resolution (607x1080). You also need to adjust a rendertemplate to this new resolution (or use Voukoder to render, which will adept the project resolution) but keep in mind that not every resolution is accepted, at least it must by dividable through 2 or 4 (608x1080 is accepted).

But that way the remaining black part of the screen (that appears after cropping) won't go away. I want that after cropping the video resolution would change and fit to the cropped video size. This is possible using most video converters like MovAvi.

3POINT wrote on 10/2/2022, 11:57 PM

New in VP is already to crop video automatically to the aspect ratio of the project. So if you know which settings you need and set the project accordingly, the imported video will be cropped automatically.

3POINT wrote on 10/2/2022, 11:58 PM

For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

Just resize your project settings, after cropping, to the cropped resolution (607x1080). You also need to adjust a rendertemplate to this new resolution (or use Voukoder to render, which will adept the project resolution) but keep in mind that not every resolution is accepted, at least it must by dividable through 2 or 4 (608x1080 is accepted).

But that way the remaining black part of the screen (that appears after cropping) won't go away. I want that after cropping the video resolution would change and fit to the cropped video size. This is possible using most video converters like MovAvi.

Not true

debojitacharjee wrote on 10/3/2022, 12:05 AM

@debojitacharjee Use Pan/Crop to crop your clip, make sure Stretch to fill frame is ticked if you want it to fill the screen,,

If you want the resolution of the Project to change you'll have to go to Project Properties after cropping & change it as i have done in the third pic (size shows bottom left of the preview), Position at the top of the Pan/Crop controls tells you the sizes you need, ,

I tried all that but it doesn't work. I want the preview window to show the cropped video only without the discarded black area. changing the projet settings will change the aspect ratio but the cropped video along with the black area will also be there. Moreover, if I crop any area of the frame except the center, then after cropping, the cropped video won't be centered automatically. How do I make a cropped video as the final output video without the black area and also centered? This is possible using video converters like MovAvi.

debojitacharjee wrote on 10/3/2022, 12:08 AM

@debojitacharjee

 I don't want to move the cropped frame. What I am saying is that in some video converters like MovAvi, when you crop any part of the video frame, the cropped frame becomes the only video frame, no matter on which area on the screen it was cropped. For example, if I am cropping a 1920 x 1080 video with a cropped area of 607 x 1080 on the extreme left of the screen using MovAvi converter, then after cropping, the video resolution changes to 607 x 1080. But this doesn't happen when I crop using Vegas Pro and the cropped video stays on the screen keeping the rest of the screen black, and the video resolution stays at 1920 x 1080. How do I change the video resolution to the cropped area and I don't want the black part of the screen to appear.  

Your peers on the Vegas Professional forum have answered your question by explaining how the process works.

Pick 1 and invest the effort required to become an expert.

Which answe was the right answer to my question? If you think someone has given the correct solution then please tell me.

debojitacharjee wrote on 10/3/2022, 12:13 AM

New in VP is already to crop video automatically to the aspect ratio of the project. So if you know which settings you need and set the project accordingly, the imported video will be cropped automatically.

I am using VP16 and I am also able to crop, but how do I get rid of the black area that stays along with the cropped video? If the cropped video changes the project resolution then after exporting the video, who do I get the black area on the screen also with the cropped video.

3POINT wrote on 10/3/2022, 12:27 AM

As said before, you need also to modify your rendertemplate to the same resolution and take in account that not every resolution is accepted.

john_dennis wrote on 10/3/2022, 1:21 AM

@debojitacharjee

It's not that complicated. Even the demo took less than a minute.

My main system:
Motherboard: Asus X99-AII
CPU: Intel i7-6850K
GPU: Sapphire Radeon RX480-8GB
RAM: Corsair Dominator (4 x 4 GB) DDR4 2400
Disk O/S & Programs: Intel SSD 750 (400 GB)
Disk Active Projects: 1TB & 2TB WD BLACK SN750 NVMe Internal PCI Express 3.0 x4 Solid State Drives
Disk Other: WD Ultrastar/Hitachi Hard Drives: WDBBUR0080BNC-WRSN, HGST HUH728080ALE600, 724040ALE640, HDS3020BLA642
Case: LIAN LI PC-90 Black Aluminum ATX Full Tower Case
CPU cooling: Corsair Hydro series H115i
Power supply: SeaSonic SS-750KM3 750W 80 PLUS GOLD Certified Full Modular Active PFC Power Supply
Drive Bay: Kingwin KF-256-BK 2.5" and 3.5" Trayless Hot Swap Rack with USB 3
Sound card: Crystal Sound 3 on motherboard. Recording done on another system.
Primary Monitor: Asus ProArt PA248q (24" 1920 x 1200)
O/S: Windows 10 Pro 22H2, Build 19045.2130

Camera: Sony RX10 Model IV

https://www.youtube.com/user/thedennischannel

3POINT wrote on 10/3/2022, 1:56 AM

As @john_dennis showed in detail, there are no blackborders after matching the projectproperties to the cropped video. But he didn't show you that you have also to modify your rendertemplate accroding this settings, when you use a normal 1920x1080 rendertemplate, the borders will be added again.

todd-b wrote on 10/3/2022, 1:57 AM

I am using VP16 and I am also able to crop, but how do I get rid of the black area that stays along with the cropped video? If the cropped video changes the project resolution then after exporting the video, who do I get the black area on the screen also with the cropped video.

You can install voukoder like 3point said (as seen with this demo) or you have to manually edit your vegas render templates, also as 3point said. Match pancrop resolution to project and render resolution. If your encode crashes, or you get a zero byte file Vegas doesn't like your resolutions, ensure both numbers are divisible by 4, if you are using the older AVC decoder (not so4 Gpu decoder) dimensions have to be divisible by 8 or maybe even 16

John Dennis has already done the demo but have another one

john_dennis wrote on 10/3/2022, 2:28 AM

You folks shamed me so badly that I had to do complete staff work...

... adding 25 seconds to the demo.

My main system:
Motherboard: Asus X99-AII
CPU: Intel i7-6850K
GPU: Sapphire Radeon RX480-8GB
RAM: Corsair Dominator (4 x 4 GB) DDR4 2400
Disk O/S & Programs: Intel SSD 750 (400 GB)
Disk Active Projects: 1TB & 2TB WD BLACK SN750 NVMe Internal PCI Express 3.0 x4 Solid State Drives
Disk Other: WD Ultrastar/Hitachi Hard Drives: WDBBUR0080BNC-WRSN, HGST HUH728080ALE600, 724040ALE640, HDS3020BLA642
Case: LIAN LI PC-90 Black Aluminum ATX Full Tower Case
CPU cooling: Corsair Hydro series H115i
Power supply: SeaSonic SS-750KM3 750W 80 PLUS GOLD Certified Full Modular Active PFC Power Supply
Drive Bay: Kingwin KF-256-BK 2.5" and 3.5" Trayless Hot Swap Rack with USB 3
Sound card: Crystal Sound 3 on motherboard. Recording done on another system.
Primary Monitor: Asus ProArt PA248q (24" 1920 x 1200)
O/S: Windows 10 Pro 22H2, Build 19045.2130

Camera: Sony RX10 Model IV

https://www.youtube.com/user/thedennischannel

debojitacharjee wrote on 10/3/2022, 11:46 PM

As said before, you need also to modify your rendertemplate to the same resolution and take in account that not every resolution is accepted.

hanging the project resolution will obiously chage the video resolution, but the cropped video won't be centered without the black area.

debojitacharjee wrote on 10/4/2022, 12:31 AM

@debojitacharjee

It's not that complicated. Even the demo took less than a minute.

I tied that process but in my case the cropped video moves but not centered.

debojitacharjee wrote on 10/4/2022, 12:33 AM

As @john_dennis showed in detail, there are no blackborders after matching the projectproperties to the cropped video. But he didn't show you that you have also to modify your rendertemplate accroding this settings, when you use a normal 1920x1080 rendertemplate, the borders will be added again.

I my case it doesn't go like that. What's wrong? Why the cropped video moves?

3POINT wrote on 10/4/2022, 2:01 AM

As @john_dennis showed in detail, there are no blackborders after matching the projectproperties to the cropped video. But he didn't show you that you have also to modify your rendertemplate accroding this settings, when you use a normal 1920x1080 rendertemplate, the borders will be added again.

I my case it doesn't go like that. What's wrong? Why the cropped video moves?

Where did @john_dennis show you that Source Maintain Aspect ratio and Stretch to fill frame in the Pan/crop settings should be set to "NO", what you did?

debojitacharjee wrote on 10/4/2022, 11:00 PM

As @john_dennis showed in detail, there are no blackborders after matching the projectproperties to the cropped video. But he didn't show you that you have also to modify your rendertemplate accroding this settings, when you use a normal 1920x1080 rendertemplate, the borders will be added again.

I my case it doesn't go like that. What's wrong? Why the cropped video moves?

Where did @john_dennis show you that Source Maintain Aspect ratio and Stretch to fill frame in the Pan/crop settings should be set to "NO", what you did?

As @john_dennis showed in detail, there are no blackborders after matching the projectproperties to the cropped video. But he didn't show you that you have also to modify your rendertemplate accroding this settings, when you use a normal 1920x1080 rendertemplate, the borders will be added again.

I my case it doesn't go like that. What's wrong? Why the cropped video moves?

Where did @john_dennis show you that Source Maintain Aspect ratio and Stretch to fill frame in the Pan/crop settings should be set to "NO", what you did?

Sorry about that - I thought without changing these option to 'NO' the aspect ratio won't change to 608x1080. Now it's working. Thanks!