What you’ll learn:

Understanding motion tracking and stabilization

Imagine you’re editing a movie, and you have a shot where the camera dollies into a room with a TV on the wall. That TV isn’t on, but you’d like to put video on the TV screen. In a stationary shot, a simple Picture-in-Picture would suffice. But you have two problems – not only does the camera movement mean the TV doesn’t stay in one place, you also see some vibrations and bumps from the dolly track. VEGAS Pro has you covered. With its incredible new Video Stabilization plugin and motion tracking through the Bézier Masking FX, bringing that blank TV screen to life takes just a few steps. Read on to find out how!

Stabilize Your Video

Your first task is to get rid of the bumps and shakes. The best way to do this is to apply the Video Stabilization plugin. You can apply it at the event level to the clip in the timeline, but in this case, it’s best to do it at the media level, because you’ll be adding specialized FX at the event level later, and it’s best to have the stabilization “baked into the cake” before you add those other FX to the event.

Apply the Video Stabilization plug-in

Right-click the clip in the Project Media window and choose Media FX from the context menu. In the Plug-in Chooser, select VEGAS Video Stabilization from the list of effects. Click the Add button, and then click OK. The Media FX window opens.

For this example, we’ll do Basic stabilization, which is the first option to pop up. You have many advanced stabilization options available, but Basic stabilization works well for most video, and definitely for our use here. Click Stabilize, and VEGAS Pro analyzes the video and stabilizes it. No more bumps and shakes!

You can now add the clip to timeline, shake-free, and you can edit and trim it at will.

Track an Object and Pin Another Object to it

With the VEGAS Pro motion tracking tools, you can track an object as it moves through your video screen. Follow the object even as it changes perspective. Then, pin another video or text to the tracked object so that it follows the object on its path through the video screen. This way you can easily attach a text label to a moving object, or superimpose a different video over the face of the moving object.

Bézier Masking FX
Bézier Masking FX

Bézier Masking FX

In this example, we’re just adding rectangular video to a rectangular screen of the same size and shape. Far more complex combinations are possible! But for this illustration, we’ll keep it simple. Drop the clip onto the timeline and trim it as desired. Now, double-click on the clip to create a loop region around it, and set the cursor at the beginning so that you’ll be working on the first frame.

Drag the Bézier Masking FX from the Video FX window to the clip. Use the Default template.

You’ll see in the Preview window that the effect has already created a rectangle mask, so the center of your image is visible, but the rest of the image is cut out, either showing black or the video layer below it.

You’ll want to be able to see the whole image while you work, so in the Video Event FX controls, slide the Blend slider over to bring up the rest of the image to about .500, letting you see the whole image, but also the mask area.

Click the triangle next to Mask 1 to reveal the mask controls. Click on the Type drop-down and choose Curve. Two things will happen – the rectangular mask in the Preview window will disappear, and the rest of the controls will grey out. That’s OK for now.

Drag your mouse cursor to the Preview window. It will change to a pen tip cursor. Click on a corner of the TV screen to set a point. ;Click on the other corners in order to create a rectangular shape matching the TV screen. Click on your first point to close. You’ll now see a rectangle filled in with dots. You’ve set your mask area! Now it’s time to set up motion tracking.

Picture-in-Picture

We’ll use the Picture-in-Picture FX plugin and scripting to add the video to the TV screen. But first, create a new video track above the dolly shot and add the video you want on the TV screen to that track. Trim the clip so that it matches the in and out points of the dolly video.

Right now, your video covers the whole frame in the Preview window, but when you add the Default Picture-in-Picture FX plugin, the video immediately shrinks to the center of the screen, revealing your dolly shot underneath.

Make sure the timeline cursor is at the first frame of the clip. In the Picture-in-Picture FX controls, change the Mode to Free Form in the drop-down. In the Preview window, use your mouse cursor to drag the white corner points of your video to the corresponding corners of the TV screen.

Your picture is now on the screen, but that’s only for the first frame – we still need to pin it to the moving TV.

Apply Motion Tracking to PiP

We’ll now use a script to pin the video to the TV screen. Select both video clips. Go to Tools>Extensions and choose Copy Motion Track to PiP. VEGAS now applies all of the Bézier Masking keyframes to the Picture-in-Picture effect. Play the clips on the timeline, and voila! You’ve replaced the blank TV screen with your own video!

You can now tweak the result by adding feathers to the PiP or to the Bézier mask; you can subtly adjust angles, or adjust exact points on the keyframes. You can also add other FX like color correction, Add Noise, Auto Looks, TV Simulator, etc., for increased realism or style.

As we mentioned, this is only the very tip of the iceberg with what you can do with motion tracking in VEGAS Pro. Replace billboards. Add posters or neon signs to the sides of buildings in moving city scapes. Create incredible sci-fi effects like heads-up displays or floating text. VEGAS Pro gives you the power to unleash your imagination!

Save 70%
Save 25%
Save 31%
Save 33%
VEGAS Pro Edit 21
Upgrade: VEGAS Pro Edit 21
VEGAS Pro Edit 365+
VEGAS Pro Edit 365
VEGAS Pro Edit 365
VEGAS Pro Edit The creative standard for video and audio Upgrade: VEGAS Pro Edit The creative standard for video and audio VEGAS Pro Edit 365+ The creative standard for video and audio VEGAS Pro Edit 365 The creative standard for video and audio VEGAS Pro Edit 365 The creative standard for video and audio
C$199.00
C$668.00
 
C$149.00
C$199.00
 
C$287.76 / 2 years
(equivalent to C$11.99 / month) C$416.76 / 2 years
 
C$95.88 / year
(equivalent to C$7.99 / month) C$143.88 / year
 
C$19.99 / month
 
 
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)
  • NEW! ActionVFX Action Pack 2 (C$340 value)
Available until March 26, 2024
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)
Available until March 26, 2024
Save 61%
Save 33%
Save 25%
Save 37%
VEGAS Pro Suite 21
Upgrade: VEGAS Pro Suite 21
VEGAS Pro Suite 365+
VEGAS Pro Suite 365
VEGAS Pro Suite 365
VEGAS Pro Suite Integrated tools for content creators Upgrade: VEGAS Pro Suite Integrated tools for content creators VEGAS Pro Suite 365+ Integrated tools for content creators VEGAS Pro Suite 365 Integrated tools for content creators VEGAS Pro Suite 365 Integrated tools for content creators
C$299.00
C$768.00
 
C$199.00
C$299.00
 
C$383.76 / 2 years
(equivalent to C$15.99 / month) C$512.76 / 2 years
 
C$119.88 / year
(equivalent to C$9.99 / month) C$191.88 / year
 
C$34.99 / month
 
 
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)
  • NEW! ActionVFX Action Pack 2 (C$340 value)
Available until March 26, 2024
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)
Available until March 26, 2024
Save 54%
Save 25%
Save 18%
VEGAS Pro Post 21
Upgrade: VEGAS Pro Post 21
VEGAS Pro Post 365+
VEGAS Pro Post 365
VEGAS Pro Post 365
VEGAS Pro Post End-to-end production workflow Upgrade: VEGAS Pro Post End-to-end production workflow VEGAS Pro Post 365+ End-to-end production workflow VEGAS Pro Post 365 End-to-end production workflow VEGAS Pro Post 365 End-to-end production workflow
C$399.00
C$868.00
 
C$299.00
C$399.00
 
C$599.76 / 2 years
(equivalent to C$24.99 / month) C$728.76 / 2 years
 
C$299.88 / year
(equivalent to C$24.99 / month)  
 
C$44.99 / month
 
 
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)
  • NEW! ActionVFX Action Pack 2 (C$340 value)
Available until March 26, 2024
Available until March 26, 2024
  • Only now for free in this offer:
  • NEW! ActionVFX - Pro X Pack (C$129 value)

What's the difference between VEGAS Pro Edit, VEGAS Pro Suite and VEGAS Pro Post?