Media gets cut off when keyframing with pan and crop + 3d source alpha

Lentern wrote on 3/25/2022, 5:30 PM

So I am using 3d source alpha to create a turning effect with many images. They turn as seen in the attached video.

But the problem that I'm having is that the images get cut off when I use pan and crop to animate a move-in. Here's the problem.

So the image (or text in this example) gets cut off when it pans up. How can I get around this?

Vegas Pro 17, Windows 10, Intel Core i7-9700F, GeForce GTX 1650

Comments

3POINT wrote on 3/26/2022, 12:28 AM

Do the panning also in 3d source alpha instead with (2d) pan crop.

Last changed by 3POINT on 3/26/2022, 12:41 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

Lentern wrote on 3/26/2022, 6:09 AM

Do the panning also in 3d source alpha instead with (2d) pan crop.

I thought of doing this but the problem is that I can't have a smooth turn like as shown in the first clip at the same time that the images are panning up. Since the move that goes up takes less time then the turn, the pan up would be in between the two turn keyframes and would mess it up. If there isn't another way to do this, I may just do a fade in.

3POINT wrote on 3/26/2022, 11:17 AM

Unfortunately this is not possible with the keyframes system of Vegas. A keyframe is always set for all parameters, it's not possible to set a keyframe for a single parameter only.

fr0sty wrote on 3/26/2022, 11:55 AM

You should be able to do pans and turns at the same time using 3D source alpha track motion... like this. Am I missing something?

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

3POINT wrote on 3/26/2022, 12:07 PM

 

@fr0sty your missing that you cannot set different keyframes just for panning and other keyframes just for rotation. You only can set a keyframe which sets panning+rotation. @Lentern wants to start and end the rotation at another keyframe then where the panning starts and ends.

Lentern wrote on 3/26/2022, 12:12 PM

You should be able to do pans and turns at the same time using 3D source alpha track motion... like this.

Smooth keyframes seem to cause the problem.

@fr0sty your missing that you cannot set different keyframes just for panning and other keyframes just for rotation. You only can set a keyframe which sets panning+rotation. @Lentern wants to start and end the rotation at another keyframe then where the panning starts and ends.

A good point. I need the separate keyframes for rotation and panning which I tried to do with 2D pan & crop at first.

john_dennis wrote on 3/26/2022, 12:19 PM

@Lentern

You don't need separate keyframes for rotation and panning. Just slide along the Track Motion Timeline. The values will change based on the progress per frame. Just change the Y value, for example, and leave the rest of the values unchanged.

Lentern wrote on 3/26/2022, 12:27 PM

You don't need separate keyframes for rotation and panning. Just slide along the Track Motion Timeline. The values will change based on the progress per frame. Just change the Y value, for example, and leave the rest of the values unchanged.

I did exactly that above but the smooth keyframe interpolation is what causes the problem.

Former user wrote on 3/26/2022, 12:32 PM

@Lentern Hi, use the Track Motion controls or the box in the TM window to enlarge the window so it fills the screen, then use the Pan/Crop to re- size the text & the keyframes as you wish,

Maybe try experimenting with Track Motion, add a white solid to the timeline, adjust it's position & rotation, only things within the white box are seen, what your seeing when the text is cut off is the text going outside the imaginary white box, -

a bit like this -

solution - enlarge the Track Motion (imaginary white box) so it fills the screen, then use Pan/Crop to size & animate the text,

3POINT wrote on 3/26/2022, 12:42 PM

I'm out , too many cooks...

Former user wrote on 3/26/2022, 1:04 PM

I'm out , too many cooks...


@3POINT Why say that, why not just not participate any more ?

john_dennis wrote on 3/26/2022, 1:46 PM

@Lentern @3POINT

I'll throw one more pinch of salt into this pot and leave the kitchen.

The simplest way to accomplish this task if you're not into 3D animation is to:

  1. Create a Vegas project with the text in it and do the Track Motion rotation on the Y axis.
  2. Save the project. Rotate on Y Axis.veg.
  3. Nest the project, Rotate on Y Axis.veg into your main project.
  4. Use Pan/Crop to move the text on and off the screen.

Sample project here: Deleted to recover disk space.

3POINT wrote on 3/26/2022, 2:02 PM

@john_dennis With all respect John, ofcourse for almost every shortcoming in Vegas there's a workaround. To me it would make more sense that every parameter in Vegas Trackmotion/pancrop would have it's own keyframe control with timeline, like I'm used from all other FX/Media generators in Vegas.

Now I'm really out, my microwave rings...👍

fr0sty wrote on 3/27/2022, 1:50 AM

 

@fr0sty your missing that you cannot set different keyframes just for panning and other keyframes just for rotation. You only can set a keyframe which sets panning+rotation. @Lentern wants to start and end the rotation at another keyframe then where the panning starts and ends.

If you make changes to one parameter, it doesn't overwrite unrelated parameters, as long as you do not make any changes to them, when you keyframe. While it would be nice to be able to expand and edit individual keyframe lanes for each parameter, you are not limited to changing all parameters at the same time.

Last changed by fr0sty on 3/27/2022, 2:02 AM, changed a total of 3 times.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

fr0sty wrote on 3/27/2022, 2:02 AM

Demonstrated in more detail here:

 

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

3POINT wrote on 3/27/2022, 6:24 AM

@fr0sty Looks a little unnecessary complicated. Just back to basic. You first setup two keyframes for panning, one start and one end keyframe. Than in-between two keyframes for rotation. While playing the panning starts, than rotation starts, than rotation ends and than while panning continues rotation turns back to start.

To avoid this you have to copy the rotation setting of the third keyframe to the the fourth (panning) keyframe.

This works fine as long as the keyframe interpolation is set to linear for all keyframes and no corrections are made by moving keyframes on the timeline or other settings for rotation and panning.

An individual keyframe for each parameter an a separate timeline/lane would give much more options and possibilities.

Lentern wrote on 3/27/2022, 2:46 PM

use the Track Motion controls or the box in the TM window to enlarge the window so it fills the screen, then use the Pan/Crop to re- size the text & the keyframes as you wish

I rendered the first 12 seconds of this sucessfully, but trying to render anything past that causes Vegas to freeze and then close without a crash window. It uses about 10 gigs of ram and then closes. Keep in mind I'm using motion blur and supersampling now, how can I fix this? I tried both Vegas 17 & 18.

fr0sty wrote on 3/27/2022, 4:57 PM

You're probably overloading your system. Disable motion blur and supersampling, one at a time, until you hopefully get a successful render out. If that works, you know that you need to upgrade your system to do what you are trying to do. What technique are you using to do the motion blur/supersampling?

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Lentern wrote on 3/27/2022, 6:54 PM

I went ahead and rendered out the final few seconds without motion blur or supersampling applied (I was using the CTRL + SHIFT + B method) and applied it in post. My original goal has been completed, thanks everyone for your help.