Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
mocha has always been very popular as a tracking tool, but with the rising interest in stereo 3D conversion, its rotoscoping capabilities have become a favorite player in that pipeline and sales have soared. In this course, Steve Wright covers the basics of operating mocha, as well as advanced tracking and rotoscoping techniques. The course also covers the mocha/Nuke stereo 3D production pipeline in detail.
All tracking data created in Mocha can be formatted and exported to a wide range of programs. There are far too many different programs that you can export to, than I can demonstrate here, so I'll just be using Nuke. While the Mocha side of exporting track data is the same for all programs, each program has its own setup when importing it. To learn the specifics about your particular program, you'll find helpful tutorials on imagineersystems.com website. Just like when exporting splines, to ensure compatibility with the program you're exporting to make sure you have set the project settings from proper clip length, frame rate, interlaced mode, pulldown mode and pixel aspect ratio.
At the same time I prepared a little tracking script here, so I'm going to select my tracker and start off by showing how to export corner pin data. I'm going to turn on the planar surface, because it's the exact location of the four corners of the planar surface that will determine where the corner pin data will go. Let me just tighten this up a little bit. Okay, let's say we like that and whichever shape is selected, will be the one that will be exported.
So we'll click on Export Tracking Data go to the pop-up. I'm going to be doing Nuke Corner Pin, so I'll come down here and select Nuke Corner Pin. Now with Nuke, I have an option to save it out as a script or to just copy it to the clipboard. I'm going to do this, because this is the quickest. Select that, okay, now let's switch to Nuke. Okay, to import the corner pin data from Mocha from the clipboard, I'll select the graphic element that I want a corner pin and type the paste command Ctrl+V, select my clip, that I'll add a Merge node, hook it into my background clip and there you go.
It couldn't be easier. All right let's stop this and go back to Mocha. Now let's take a look at exporting track data. With track data, you're really doing translates X, Y, Z rotate and scale and it does not know or care about where the planar surfaces is, I'm just going to mess it up here okay. The corner pin data cares exactly where the corners of the planar surface are, but the tracking data does not. All right let's export to Nuke, so again, whichever I want to select here, I want to get with the pop up, this time, I'm going to choose Nuke ASCII.
What's going to happen here is Mocha is going to write out ASCII text files for each of the four points of the Nuke's four-point tracker node, then we'll import those into the tracker. So we'll save this, you have to choose the folder you're going to write them to, so I want to just put them in the Lesson_04_Media. It's going to get its name based on the name of the layer that you're dong. Since that works for me here, I'm going to leave it as tracker, I'll click Save. Mocha has now written out four ASCII text files here, I'll show you.
Here they are, they're named after tracker which is the name of the node that I gave it. Here are the four different tracker ASCII text files we're going to load into Nuke, I'll get rid of this, and now I'll switch over to Nuke. So here is my original background clip, and I want to do a match move with the tracking data for this graphic element on top of my cellphone, so I'll select the read node for my graphic element come up to the Transform tab and lay down a Tracker node. I am going to clear everything out of the property bin except a Tracker node and then I am going to fold the tracker node, so you can see better what's going on.
What I need to do is load into each of the four trackers its appropriate ASCII text file from disk, so I'll make sure Tracker1 is turned on, select the File > Import ASCII option, browse to where they're located, select the Lesson_04_Media where we wrote them, and select the Tracker1, make sure I'm doing Tracker1, select Open and OK. So I've loaded Mochas' Tracker1 text data into Nukes Tracker1 point, we'll continue on, turn on Tracker2, Go to File > Import ASCII, open Browser, I'll select Tracker2 now being careful, click Open and did OK.
Now Tracker2 has its data, select Tracker3 Import, Tracker3 Open > OK and Tracker4 ASCII, click Open, click OK. All right, we've loaded all four trackers with our ASCII text data. Now I need to turn on translate, rotate and scale for all four of the trackers, again, this Nuke thing, so if you don't do Nuke you can turn away.
I switch to the Transform tab and tell the tracker to do a match move, and I'll put this back, and now if I play the clip, my graphic element is doing a match move. We'll stop that, attach a Merge node to the tracker and comp it over the background plate, I want to close this Property bin to get rid of all the graphics and play. All right, there we have it, a match move with a tracking data.
We'll stop this and go back to Mocha. This time we'll export stabilizing data. First, we'll go to the Stabilized tab, and then we have to check our settings, because however you have them set, this the way the data will be formatted. So I want all the motion Maximum Smoothing, lock this puppy off. Again, exports stabilized tracking data, go to our pop up, select, again, Nuke ASCII text, because again, we're going to be doing the same drill, we're going to load this data into our Tracker node in Nuke, click Save.
This time if I name a tracker again it'll overwrite my original stuff, so I'm going to rename this stabilize, and click Save and Mocha does its thing up here. Okay, we're ready to switch to Nuke and load in our stabilizing data. I'll switch to my viewer node over to this clip, now it's stable. Select a Tracker node again, and then off load it. And again, I'm going to load the ASCII file as before.
Tracker1 is enabled. File > Import ASCII, Browse, this time I want stabilize for Tracker1. Open > OK, enable Tracker2, Import. Actually I'm going to take a shortcut and just edit the name right here Tracker2, OK, turn on 3, Import, edit that to Tracker3, OK and 4, and we're done.
Again, we have to enable translate, rotate and scale for all four of the tracker points. So Nukes is going to take this tracking data that it got from Mocha and going to perform the actual transformation calculations itself. Let's unfloat that, back to our property bin. The last step is on the Transform tab, to set the Transform to not stabilize, but match move, here's the reason. We took this data from Mochas Stabilized tab, so the data has already been inverted for stabilizing.
If I select Stabilize here, it'll get inverted again, so I need to use it exactly as Mocha exported it, hence the match move. Okay, I'm going to fold up this Property panel, so we can see what we're doing, we'll zoom out a little bit, so we can watch the stabilizing, and play our clip, and there we have it. A perfectly stabilized picture, stabilized around the part of the picture that we tracked in Mocha. All right, we'll stop that and go back to Mocha. So Mocha makes it easy to export the tracking data either as a corner pin match move or stabilize, so your program can use the exact same tracking data.
There are currently no FAQs about mocha 2.6 Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.