Changing Clip Height to 1920 in Vegas Pro 12

f-vn wrote on 2/28/2017, 5:35 AM

Hi,

I'm trying to do something that seems like it should be simple but I can't seem to find a simple way. All my clips are 1920x1080 and I want to change them to 3413.3x1920, which are the values when I change the height to 1920 manually. There's a few other simple actions that I'm doing too so I want to script. I'm only working with a single video at a time in this case. I know if has something to do with changing the bounds of keyframe 0 but I'm having trouble finding samples of how to access keyframe 0.

Thanks in advance for any replies.

Comments

Marco. wrote on 2/28/2017, 5:50 AM

Frame sizes can't be fractions of 1 pixel. Video codecs usually even need an 8x8 raster, some even 16x16.

So you would doing well to choose a frame size which both side's sizes are dividable by 8.

3POINT wrote on 2/28/2017, 5:59 AM

Which rendertemplate accepts 3413.3x1920 as output?

I see Marco was quicker.

Last changed by 3POINT on 2/28/2017, 6:00 AM, changed a total of 1 times.

3POINT, Theo Houben, Vegasuser since version 5 and co-founder and moderator of the Dutch Vegasforum https://www.vegas-videoforum.nl/index.php

Recware: DJI Osmo Pocket/Mavic Mini, GoproHero7Black, PanasonicFZ300/HCX909.

Software: Vegaspro365+Vegasaur, PowerDirector365, Davinci Resolve 20

Hardware: i910900k, 32GB, GTX2080super, 2x1920x1200 display

Playware: Samsung Qled QE65Q6FN

Red Prince wrote on 2/28/2017, 11:09 AM

The height of 1920 makes no sense for a 16:9 ratio (which 1920x1080 uses) because 1920 is not divisible by 9.

He who knows does not speak; he who speaks does not know.
                    — Lao Tze in Tao Te Ching

Can you imagine the silence if everyone only said what he knows?
                    — Karel Čapek (The guy who gave us the word “robot” in R.U.R.)

f-vn wrote on 2/28/2017, 3:39 PM

I'm rendering as HD 1080-24p YUV. When I click on Event Pan/Crop, I change the Position Height to 1920 and the Position Width just above it automatically changes to 3,413.3.

The steps are first I rotate 270 degrees then I change the Position Height and the rendered video fits the screen nicely.

Marco. wrote on 2/28/2017, 4:05 PM

Not sure what you intend to do. If you render to 1080p24 then you're video will be 1920x1080 in the end, no matter what you do in Pan/Crop or TrackMotion.

When in Pan/Crop you rotate your frame 270 °, then set size to 3.413,3x1920 this - of course - would work fine. You then will have a smaller frame of your video (as kind PiP effect) which will vertically span the size of the given dimension while horizontally you will have black bars.

If this is what you want to do - yes, go for it this way. You can than save that Pan/Crop setting as own preset so you would not need to adjust anew.

3POINT wrote on 2/28/2017, 4:06 PM

The numbers in the pancroptool have no influence on project resolution settings.

f-vn wrote on 3/1/2017, 2:23 AM
 

If this is what you want to do - yes, go for it this way. You can than save that Pan/Crop setting as own preset so you would not need to adjust anew.

If I don't rotate, the video is rendered sideways. If I don't change the Position Height the video renders a zoomed in section of the clip.

Thankyou. Is there a way to apply the preset via script. I'm trying to set up a one-click thing and will look into grabbing files from a folder in the future.

3POINT wrote on 3/1/2017, 3:48 AM

I'm still not understanding what you are trying to do. Could you show me (us) a screenshot?

There's (normally) nothing to rotate when you have filmed in landscape modes. When wrongly filmed in portrait modus, than better rotate your viewing device.

f-vn wrote on 3/1/2017, 4:48 AM

I film in portrait then convert the video from *.mov to *.mp4 using Handbrake. This seems to remove the orientation setting that the *.mov has.

Doesn't matter. I've made this work before but re-imaged my computer and forgot to save the script. I'll get there with eventually. Thanks for your responses.

Marco. wrote on 3/1/2017, 5:19 AM

For this case you don't even need Pan/Crop. You can set the desired rotation within the Event Properties.

Bot cases could be automated via script (Pan/Crop and Event Rotation), though I don't know if there is a single script for this task out there. Vegasaur can do the job.