FORUMS: list search recent posts

Need some assistance with video masking!

COW Forums : VEGAS Pro

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Michael Tonks
Need some assistance with video masking!
on Jul 6, 2014 at 12:15:27 pm

Ok, I'm a bit of a Vegas noob and need some help

I'm editing an animated video series using Vegas Pro 12. In one of my shots, a character stands in front of a monitor (picture 1), and a few seconds in moves his hand over it (picture 2)




PICTURE 1







PICTURE 2



What I need is to place another piece of media on top of this monitor (what will be another video), and at the same time have it underneath his hand, so essentially it'll be between the hand and the monitor.

I've experimented with masks and such, but I just can't get it right!

Could someone who knows what they're doing explain to me how I'd achieve this? :/


Return to posts index

John Rofrano
Re: Need some assistance with video masking!
on Jul 6, 2014 at 6:26:30 pm

[Michael Tonks] "I've experimented with masks and such, but I just can't get it right!"
Experiment more! Without a rotoscoping tool to do this for you, you need to go frame by frame and adjust the Mask in Pan/Crop to match the movements of the hand. yes it takes a log time. That's why Hollywood movies take years to make! ;-)

Hint: Next time... put green tape or cardboard over the area you want to replace before you shoot the scene. This is what Hollywood would have done. There is no substitution for planning your shot correctly. Anything being replaced in a live shot should be covered in green chroma key material.

~jr

http://www.johnrofrano.com
http://www.vasst.com



Return to posts index

John Rofrano
Re: Need some assistance with video masking!
on Jul 6, 2014 at 7:37:11 pm

Hey, I was thinking... since this is animated, and chance of getting the animator to go back and make the surface of the display green? That would allow you to key the hand over the replacement footage.

~jr

http://www.johnrofrano.com
http://www.vasst.com



Return to posts index


Christopher Griego
Re: Need some assistance with video masking!
on Jul 8, 2014 at 8:01:06 am

There is an relatively simple way to do this without having to redo anything, but it requires a lot of precision and can be

You won't need to worry about the compositing options for this as those can be tricky to get right if you aren't experienced with using them.

Make 3 layers. The animation you will be using should be on the top and bottom layers. Make sure that they are source alpha. Since you are using Pro 12, you should have 3D track motion enabled. Set the middle layer to 3D source alpha to do this.

Now hide the top layer. Put the footage you want to overlay onto the screen into the 3D layer. MAKE ABSOLUTELY SURE THAT BOTH FILES ARE OF THE SAME NATIVE RESOLUTION AND FRAME RATE OR ELSE VEGAS WILL GARBLE THE RENDERING. Click on the track motion button on the layer panel (it's the little button with two rectangles, one is purple and one has an x on it). This will open up the track motion window. From there, create a key frame where you want the even to begin and use the controls to manipulate the screen footage so it fits the dimensions of the screen. You'll need to mess with it in three dimensions to achieve that, which is why we are using the 3D track layer. Once you have it the way you want it, apply any filters or effects you want and minimize that layer.

Now comes the tedious part. If you make the top layer visible you will notice that the footage you imported will be obscured the animation. Trim the event so that it's only there for however long you need it to be, then open up the pan & crop window for the event.

See the row underneath the position timeline that says MASK? Enable it. Now you will need to use the pen tool to outline the part of the character's hand that is on top of the screen. YOU WILL NEED TO REDO THIS FOR EVERY SINGLE FRAME. There is a bit of an art to doing this well and it takes a lot of experience to nail. Here is a link to a very thorough tutorial on how to do this well (yes, the editor is using My Little Pony as a source, but this video will tell you exactly what you need to do)





So after you have it masked the way you want it, close the window and you should have the effect that you wanted to achieve.


Return to posts index

Michael Tonks
Re: Need some assistance with video masking!
on Jul 8, 2014 at 10:24:22 am

This is exactly what I'm after!

I actually didn't mind masking this out in every frame because his hand is away from the monitor a lot more than it is over it.

Seriously, man, thanks!

:)


Return to posts index

John Rofrano
Re: Need some assistance with video masking!
on Jul 8, 2014 at 11:58:24 am

That's a great detailed explanation. This is what I meant by "...go frame by frame and adjust the Mask in Pan/Crop to match the movements of the hand". I assumed that Michael already knew how to do this since he said he tried a mask and couldn't get it right. It's a lot of tedious work but it can be done.

If the camera is moving it will be infinitely harder because you'll have to track the panel that he's interacting with too. At that point, I would give up and use a proper Motion Tracker.

~jr

http://www.johnrofrano.com
http://www.vasst.com



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]