Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Tracking to Mocha AE mask

Engaged ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

I created a mask on a video layer with Mocha AW. I want to place a video under the top layer wth the new mask and track the motion of the layer with the Mocha mask.  Is there a plug in to track another layer to a Mocha AE mask in a different layer? Or, does the Mocha Pro allow to export tracking data? 

TOPICS
User interface or workspaces

Views

490

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

LEGEND , Mar 27, 2021 Mar 27, 2021
Mocha Ae is capable. I would also recommend reverse stabilization. Here's another method: https://m.youtube.com/watch?v=X-y3nqpcCgo

Likes

Translate

Translate
Adobe Community Professional , Mar 28, 2021 Mar 28, 2021
The workflow is even easier. Draw a spline around a couple of the monitors that are on the same plane. Perspective track the movement. Adjust the surface so that it just covers the screen. Verify that the track is good and the surface sticks to the screen. Name the layer Corner Pin, turn off the tracking cog, lock the layer.  Add another spline to act as a mask for the shape of the screen that is tight to the screen and adjust the edge properties as in any of the Rotoscoping tutorials you'll...

Likes

Translate

Translate
Adobe Community Professional ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

If you are going to spend any time at all with Mocha AE you need to visit the Boris FX Tutorials Mocha Tutorials page and learn about the tool. You can also get to those tutorials right from the Mocha/Help/Tutorials menu.

 

Mocha can have as many layers as you like. Each layer can have as many splines as you need. Each layer can track any surface inside the spline. You can export the tracking data in 3 different formats from Mocha AE to any other layer. You can create masks from any Mocha Layer and copy them and paste them to other paths or create motion paths from them, or you can link to them with expressions.

 

Mocha AE will only track the layer it is on, but you can apply Mocha to any layer, even if it is a nested comp.

 

I'm not exactly sure what you are trying to do. If you can give a little better workflow and design description, and post a screenshot on the forum using the toolbar it will help up help us help you. Please do not use the "Drag and drop here..." area at the bottom of the reply form. It's useless for sharing images.

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

Hello Rick,

I drew and tracked a mask inside an image of a vintage TV set which is slowing moving. I want to place an image inside the TV screen (mask) and track that image with the motion of the TV set. I searched through several Boris tutorials but none address my issue. This should be a general capabilty, so I don't know if  Mocha AE can handle this type of motion tracking. I also read that I need Mocha Pro to achieve the result I am looking for? Or shoud I look at using Fusion or more pro program? 

 

Thanks,

 

DC

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

Mocha Ae is capable. I would also recommend reverse stabilization. Here's another method:

https://m.youtube.com/watch?v=X-y3nqpcCgo

Learn How to use the Reverse Stabilization workflow in After Effects 2019 using native effects: Mocha Ae and CC Power pin.by separating your tracking from yo...

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

Thanks, Roi. Unfortuntaly this workflow is very cool but it doesn't apply to my issue. I also need a good tracker which AE doesn't provide. I may have to faram the shot out to a Nuke artist. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

Mocha Ae should be more than capable of doing that. Upload the shot and I am sure Rick or me would show you exactly. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

There are lots of ways to do that. If the camera is moving the Stabilized Power Pin workflow I describe in this thread is just what the doctor ordered. The tutorial in that thread is an updated version of one I created a while ago before Mocha AE was attached to the Effects Control Panel. 

 

There are another 10 or 20 ways to approach that kind of problem. The most efficient method depends entirely on the shot. If the Stabilized Power Pin workflow does not work for you, post the shot.

 

I've got a bunch of other Mocha AE workflow tutorials coming up. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

Hi Rick, your workflow is very cool but it's way beyond the simple shot I am trying to do. I think I discovered my problem, though. I upgraded to AE 2021 and the motion tracker in this verion is very buggy as the edit target option doesn't work (when using a Null Object). I guess it's a bug that Adobe will fix, but in the meantime, I'm going back to the previous version and see if that solves my problem. Unfortunatly, I will have to rebuild the composition.  

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

Show us the shot. If you need to track the motion of the screen, all you have to do is follow the same steps. If you just need to replace the screen, then all you need is Corner Pin and a mask. Show us the shot and we can give you the easiest workflow. It sounds like your screen is moving because the camera is moving or somebody is moving the screen. It's almost always easiest to stop the motion, do the composite, then put the motion back.

 

I use the workflow I demonstrated to replace screens on phones, TVs, computer monitors, add graphics to moving cars, change signs, fix reflections, and a bunch of other things. It is usually one of the easiest ways there is to add something new to a moving surface. 

 

You can also use the Motion Tracker, but Mocha does a better job of motion tracking on almost all shots. 

 

Show us the shot and we'll point you in the right direction.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 27, 2021 Mar 27, 2021

Copy link to clipboard

Copied

TV Playa installation (0-00-04-03).jpg

 Hi Rick, here is the shot. All the screens in the monitor installation are showing static except for the one I created a mask in Mocha AE. I simply want to track the video replacing the screen and track it with the motion of the shot. I resolved my issue by manually doing key frame edits using the Transform - position tool. It seems to me that AE tracking has to be done frame by frame as there is no automation. A friend who does visual effects told me I should use Fusion instead?  Also, Mocha  AE workflow doesn't work for the video layer beneath the monitor installation. Does native AE tracking provide any automation or is does that have to be done manually frame by frame? 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

Tracking in Mocha or Ae on most cases is not an automated process, it requires methodology and experience. Ae's legacy tracker or Mocha Ae should give you all you need. On rare cases when it comes to 3D Camera Solve I would turn to other apps. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

Thanks Roei. I should have said that I don't expect full automation but I was hoping for some. I saw many tutorials featuring a text or graphic easily tracking with a shot, which suggested some degree of tracker automation. I suppose what isn't shown in these tutorials is the teduim of actual of frame by frame rotoscoping and key frame animation involved to achieve the effect. That said, I've had success tracking sky replacements with minimal tweaking but, as you suggest here, I will look to other apps to do more effects rigorous work. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

LATEST

the only reason to go frame by frame is with a very rapid/abrupt movement. you really shouldn't otherwise do frame by frame because it's almost impossible to be consistant. 

mocha can help you with the roto and the tracking, it does that very well. 

I was not able to see the shot, it only shows a frame. do you have a link for the video?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

The workflow is even easier. Draw a spline around a couple of the monitors that are on the same plane. Perspective track the movement. Adjust the surface so that it just covers the screen. Verify that the track is good and the surface sticks to the screen.

 

Name the layer Corner Pin, turn off the tracking cog, lock the layer. 

 

Add another spline to act as a mask for the shape of the screen that is tight to the screen and adjust the edge properties as in any of the Rotoscoping tutorials you'll find on the Boris FX Mocha tutorials page.

 

Name the layer Mask, turn off the tracking cog, lock the layer, and return to After Effects.

 

Make sure your replacement screen fits the comp, pre-compose if necessary, then apply the corner pin data from Mocha to the replacement screen. Use the mask data to create a mask and set it to subtract to poke a hole in the shot. You're done. The tracking is taken care of. Here's a link to the project file. Here's a video showing the workflow. I just simulated a camera move and ran Mocha AE to create corner pin data, a couple of surfaces, and a couple of masks to replace two screens in the shot.

Honestly, about 10 minutes with this introduction to Mocha AE tutorial should have given you all you need to know.

 

 

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

Hi Rick, I really appreciate your effort in this. I was able to track the video layer with your workflow. However,I failed to mention that I am not inserting a still image in the monitors, I using full frame video, it tracks at full frame but it won't track when I scale down the video to fit inside the mask. Can Mocha AE actually track motion video into AE or am I constrained to using still images only? If it can track motion video, should scale down the video first before I import into AE? If so, how to I determine the exact scale size and horizontal and vertical position so it fits into the mask? 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 28, 2021 Mar 28, 2021

Copy link to clipboard

Copied

Yes, I do it all the time.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines