Mocha Vegas

NOTE This feature is available in the Plus/Ultimate version of Vegas Pro.

Mocha Vegas is the Boris FX Mocha motion tracking tool that is integrated in Vegas Pro as an OFX plug-in. Use it when you need to track motion in a video event and apply the track to effects, picture-in-picture, or stabilization. You can invoke the software from inside Vegas Pro and perform all the sophisticated motion tracking that this industry-standard tool offers. Once you’ve created the tracking data inside Mocha, you can easily transfer that data to the Vegas Pro Motion Tracking tool and apply it to your project in all the normal ways. You can also apply the tracking data to the Stabilization tool in Vegas Pro for great video stabilization results.

USE CASES
  • Track an object and apply a blur or pixelation that follows it through the shot.

  • Track a screen (or sign) to attach an insert or picture-in-picture element.

  • Export tracking data to the Vegas Pro Motion Tracking tool for additional workflows (for example, stabilization).

Add Mocha Vegas to your project

Mocha Vegas is an OFX plug-in, so use all the normal techniques to add it to your project.

  1. Place your media on the timeline.

  2. Place the cursor at the beginning of the event you want to track on the timeline.

  3. Click the Video FX tab.

  4. Select Mocha Vegas from the list of plug-ins.

  5. Drag the Default preset onto the event.

  6. In the Video Event dialog box, click the Launch Mocha UI button.

    Launch Mocha UI button in the Mocha Vegas effect

    FIGURE Launch Mocha UI button

    This starts the Mocha application and opens with your clip already loaded.

Create tracking in Mocha Vegas

PREREQUISITE

Mocha Vegas is open (you clicked Launch Mocha UI).

  1. Create a mask over the object you want to track.

  2. Create a quick mask over the object you want to track. Tip: To keep things simple for this training, use the Spline, Rectangular, or Elliptical tool.

  3. Basic Toolbar  in Mocha Vegas

    FIGURE Basic toolbar

    Tip: To keep things simple, use the Spline, Rectangular, or Elliptical tool.

  4. Adjust the mask so it covers the planar area you want to track.

  5. In the Track controls, select the motion types you want to track (Translation, Scale, Rotation, Shear, Perspective).

    Track motion options

    FIGURE Track motion options

  6. Click Track Forward (or Track Backward) to start tracking.

    Track buttons

    FIGURE Track buttons

  7. Turn on the Surface (and optionally the Grid) to check the track.

    Mocha Surface

  8. Adjust the Surface corners so they match the tracked plane.

  9. After the track finishes, make sure Mocha created a layer in the Layers list.

  10. Rename that layer if you want to.

  11. Choose File | Save Project to save your work.

  12. Choose File | Exit to close Mocha.

NOTE

The position of the Surface affects exported tracking data. Set the Surface before you export or apply tracking data in Vegas Pro.

Mocha Vegas user interface

FIGURE Mocha Vegas user interface

Apply tracking data in Vegas Pro

PREREQUISITE
  • You saved and closed Mocha Vegas.

Bring tracking data into Vegas Pro

  1. In the Video FX window, click the Expand arrow for the Tracking Data section.

  2. Click the Create Track Data... button.

    Create Track Data button in the Mocha Vegas effect

    FIGURE Create Track Data button

    If the project contains more than one layer, the Layer Controls dialog box opens.

  3. If the Layer Controls dialog box opens, select the layer you created in Mocha and click OK.

    You can now see the calculated tracking data in the plug-in.

Create a matching mask in Vegas Pro

  1. Click the Create Masks button to add a Bézier Masking plug-in to your FX chain.

    This creates a mask in Vegas Pro that matches the tracking mask you made in Mocha.

    You can see in the Video Preview window that the mask has been applied.

Add an effect to the tracked area

Use this workflow to apply any effect to a tracked area by limiting it to the mask.

  1. From the Video FX window, select an effect you want to apply (for example, Pixelate) from the list of effects.

  2. Add one of the presets to your effects chain in front of the Bézier Masking plug-in.

  3. Adjust the effect settings until you’re happy with the results.

  4. In the Bézier Masking plug-in, expand the General Options section and select the Mask Effects checkbox. You now have a tracked effect limited to the masked area.

    Bézier Masking effect with Mask Effects option

    FIGURE Bézier Masking effect

  5. Play your Vegas Pro project to see the results.