mamoworld

Tools and Tutorials for After Effects

  • Deutsch
  • English
Start Tools KeyTweak

KeyTweak

KeyTweak After Effects Script

download (on AEscripts)

KeyTweak is a powerful After Effects script to modify many keyframes of a property at once. It can be used, for example, to refine a rotoscoping mask without the need to touch every single keyframe separately: Just correcet a few keyframes by hand and KeyTweak adjusts the remaining keyframes accordingly. KeyTweak is not limited to masks, but also works with other keyframed properties. You can also use it to correct drifting tracks.

related tutorials

Other voices

user interface

Interface of the KeyTweak After Effects script

 

Comments  

 
+2 # Chris 2011-07-17 07:57
Excellent work.
Hard to believe after all these years, that Adobe didn't make this part of AE.

I have a couple of problems though:
1) The visualization of the vertex points isn't always visible, so I added a line to the script to correct that.
In "function getRadius" I put the following at the end:
"radius = Math.max(radius,5);"
With this, I can always see the vertex that is selected.
I see what you were trying to do with that function, but it doesn't always result in a visible circle.

2) After executing either "KeyTweak" or "Tracker2Mask," if I hit the space bar, it executes again. This is very annoying. Is there some way the scripts can put the focus on something else after they execute so that this won't happen.

Also, and this should be easy, if you update the visualization after a "Tweak" then the red circle(s) will be positioned correctly after the vertices move.

By the way, I'm on Windows7 with AE CS4.
Thanks for a great script!
Reply | Reply with quote | Quote
 
 
+2 # Mathias Möhl 2011-07-18 12:24
Wow, thank you for this detailed feedback and the many suggestions!

Concerning 2) I think there is unfortunately no way to change the focus to some other element.

The entire thing with the circles is also more like a workaround since scripts can unfortunately not determine whether certain mask vertices are selected or not.

If you want KeyTweak to be included in AE directly, definitely submit a feature request here. This would be great and it simply matters how many people request it!
Reply | Reply with quote | Quote
 
 
0 # afshin 2011-08-28 21:51
Hello
Where I "key tweak" it to download?
Reply | Reply with quote | Quote
 
 
0 # Mathias Möhl 2011-08-29 16:51
1) click on "download (on AEscripts)" button
2) click on blue "add to card button"
3) pay what you want
Reply | Reply with quote | Quote
 
 
0 # Chris Mack 2013-04-23 23:39
Can I use KeyTweak to move a mask and realign it? I am working on a stereoscopic production and want to be able to copy a mask from the left video clip (in one comp) and paste it into the right video clip (the other comp). Since it's a stereoscopic image the mask needs to be realigned and distorted slightly to correct for the visual shift.
Reply | Reply with quote | Quote
 
 
0 # Mathias Möhl 2013-04-24 08:35
Hi Chris,
yes, I would use the global mode of KeyTweak for this
  • duplicate the mask
  • on the duplicate remove all keyframes except one (or a few)
  • adjust this one (or few) keyframe to match the second eye
  • select both masks and run KeyTweak with fill duplicate option


Let me know whether it works for you!
Reply | Reply with quote | Quote
 
 
0 # Chris McNamara 2013-04-24 14:15
Mathias, thanks so much for your response. I purchased KeyTweak and have had the following issue:

I copied the mask from the left eye composition and pasted this mask into the right eye composition. I removed most of the key frames from this - and adjusted the position of the mask.

I then selected both masks - and did as you indicated in your email and I got the following message:

"Select exactly two properties (i.e the original property and its modified copy)"

I am not sure how to select the two masks any differently. Any help would be greatly appreciated.

Sincerely,

Chris
Reply | Reply with quote | Quote
 
 
0 # Mathias Möhl 2013-04-24 15:10
Hi Chris,

oh, yes, you need to select the two mask shape properties (the properties where you actually have the keyframes) not the entire masks groups.

Cheers,
Mathias
Reply | Reply with quote | Quote
 
 
0 # Chris McNamara 2013-04-24 15:48
Hello Mathias,

Thanks for your help. I am indeed trying this - selecting the mask - and just the mask shape. But I get the same message each time.
Reply | Reply with quote | Quote
 
 
0 # Mathias Möhl 2013-04-24 16:46
I just checked and it works for me. See this screen capture video:
www.youtube.com/.../

In case it still does not work, please send me an email to with a screenshot of AE when the error occurs.
Reply | Reply with quote | Quote
 

Add comment


Security code
Refresh