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.  

Former user 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).

Former user 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, ,

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.

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.

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.

Former user 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.

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!