Precise event sizing?

TeetimeNC wrote on 6/6/2014, 11:18 AM
I think I'm dealing with more levels of abstraction than my brain can wrap around and I hope someone here can relieve the pain ;-).

Given
1. 1080p project
2. Png image 222h x 544w

Problem
Place the png image such that it is 52 pixels high in the 1080p project

I can approximate the size using p/c and the preview window grid overlay. But what if I want to make it exactly 52 pixels. Here is what I tried but this didn't work:

1. Place the png on the timeline and leave p/c at the default source image crop.
2. Calculate the desired track height as 52/222x1080=252.97 and set the track motion height to this value (maintaining aspect ratio). But this gives me something closer to 100 pixel height for the png according to the grid. What is wrong with my logic/approach/math?

/jerry

Comments

TheHappyFriar wrote on 6/6/2014, 1:27 PM
So you want the png 52 units above the bottom on the 1920x1080 frame?

If that's the case, place the png on it's own track and use track motion to move that track 52 units up.

Pan/Crop is for panning and cropping images, not moving images around.

If the image won't move, make a 1920x1080 image in a 2d program and place your image exactly where you'll want it. No muss, no fuss.
TeetimeNC wrote on 6/6/2014, 2:26 PM
>So you want the png 52 units above the bottom on the 1920x1080 frame?

I wasn't clear enough in my description. I want the png to have a height of 52 pixels no matter where it is placed in the 1920x1080 pixel frame. It is getting this precise size for the png that I am having trouble with.

>If the image won't move, make a 1920x1080 image in a 2d program and place your image exactly where you'll want it. No muss, no fuss.

Unfortunately, in this case the png has to fade in/out independent of the background.

>Pan/Crop is for panning and cropping images, not moving images around.

I understand - I am moving and resizing (smaller, not larger) the png with track motion, not pan/crop. I would be fine with resizing with pan/crop but I haven't been able to figure out a way to get the precise 52 pixel height with it either.

/jerry
JackW wrote on 6/6/2014, 3:51 PM
Can you resize the image to a height of 52 pixels in an external graphic program?

Jack
Former user wrote on 6/6/2014, 3:57 PM
I typed in 52 on the height of the track motion and that seemed to work.
TeetimeNC wrote on 6/6/2014, 4:59 PM
>I typed in 52 on the height of the track motion and that seemed to work.

Dave, yes I also can make a track 52 pixels high with track motion. But the problem I am trying to resolve is how to get my 222 pixel high image to fill that height? In other words, I want the event on that track to be 52 pixels high in the final render. I believe if the image were 1080 pixels high, all I would have to do is what you suggest.

A Solution

What I am working on is a multi track animated Outtro that will be used in a series of future videos for a client. I felt there must be a way to do precise sizing in Vegas and took it on as a learning experience. But I've decided the best solution I can come up with is similar to what HappyFriar was suggesting - I'm going to do the entire Outtro in Photoshop, then animate the layers in Vegas. Really all I am doing is fading the layers in and out so PSD layers will work fine.

Still, if anyone understands what I am trying to do AND knows how to do it in Vegas I'm all ears.

/jerry
john_dennis wrote on 6/6/2014, 6:55 PM
Create the graphic 52 pixels in Photoshop.

Resize the canvas to your final project size (1920x1080 etc.).

Select the graphic

Invert the selection

Delete to a transparent background

Save as .png with transparency

Open in Vegas (the graphic will be 52 pixels)

Move the graphic around with track motion or pan crop and the graphic will remain the same 52 pixels

the transparency will allow you video track to show through

If you post the graphic somewhere I can do It for you in five minutes.

Here's one I did since I came home and I haven't finished my first drink. Catch me fast, though.
TheHappyFriar wrote on 6/6/2014, 8:43 PM
Reason it's not working as easy as you think is because the image has a height to width ratio of 1:2.4 and the project has a height to width ratio of 1:1.78. Your image is wider then your project.

To have everything work as simple as you want, your image should have the same height to width ratio as the project. That's why it would be easier to do it in Photoshop with a 1920x1080 project and scale/place the logo where you want it. It would also save CPU resources on render so Vegas doesn't need to scale the track/image each frame.

It would be possible to do it all in Vegas but I don't have the time atm to figure out the math. Maybe in the morning.
Warper wrote on 6/9/2014, 2:06 AM
You can do it in pan/crop.
Set Match output aspect, keep stretch to fill frame enabled.
Open settings and enter 222/52*1080 = 4611 into Height for display area.
TheHappyFriar wrote on 6/9/2014, 4:54 AM
In pan/crop those settings made it 98x240 for me.
TeetimeNC wrote on 6/9/2014, 9:36 AM
>You can do it in pan/crop.

Hmmm, when I try this I can only increase the png height to 1776. This yields a 131.75x667.77 here.

http://www.dropbox.com/s/l77ng7cklti6nkq/VegasPreciseSize.JPG

/jerry