Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Tracking/Masking…

  • Tracking/Masking…

    Posted by Benjamin Eshagpoor on May 19, 2008 at 8:47 pm

    So I’m doing some image correction in AE for a music video as well as some tracking and masking.

    Take a look at the image at the following location…

    https://paragon-ent.net/test/test.jpg

    I’m trying to get rid of the advertisements in the background like I did in this test image…

    https://paragon-ent.net/test/test_2.jpg

    The director is very married to the blooming glow’d look of the second image. The problem is the way I glow’d out the advertisements in the second image is that I duplicated the layer applied a series of masks around each advertisement and then applied a fast blur and glow effect to the layer, in effect, blooming out the advertisements. When I created the effect, I thought all I’d have to do is track the motion of each advertisement, apply the tracking motion to a null, and then parent the mask to the null, except I didn’t think when I was creating this effect that masks don’t have “position” data on their own. Their position data is tied to the layer.

    Does anyone have any thoughts as to a work around?? I really really really don’t want to have to roto these masks into place.

    Lemme know,

    Ben

    Mike Clasby replied 17 years, 12 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mike Clasby

    May 20, 2008 at 2:58 am

    There are two scripts that do what you want.

    1) Here’s a Script. It works as good as the track you get:

    https://del.icio.us/escruz/Rotoscope

    Download, then copy/move the jsx file RotAE.jsx to AE’s Script Folder, then open AE.

    Select the layer with the Mask, File>Run Script>RotAE.jsx. Then select the Mask again, and in the control panel that popped up, hit “Apply Tracker”, and you’ll have as many track points as you have mask vertices.

    Run you Motion Track. The mask will be as good as the motion track so you may have to adjust points by frame like you mentioned in Aharon’s tut.

    Now twirl down the layer, select the Tracker 1 (above the mask points) and also select the Mask, then up in the Script’s Control panel, click ” Apply Mask”. You should be good to go.

    You can still move individual mask points if the track wasn’t great, or adjust the bezier handles as needed, as the script just set mask Shape keyframes at each frame.

    2) There is another script, “rotoTool”, I haven’t really used it yet, but his stuff is great. Here’s the script:

    https://www.nabscripts.com/Downloads/downloads_en_3.php?id=1

    His site is French and some of the scripts a low on translation, but the Help “?” in the script panel for this particular script is English, and looks very straightforward, yet versatile. It converts tracks to masks, or reverses that converting masks to tracks.

    Lots of other interesting scripts there too.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy