AE Script: Nudge Keyframes to Nearest Exact Frame
Do you have a project you’d like us to help with? Get in touch.
Here are examples of our animated video work:
Video has skyrocketed in popularity over the last few years and are increasingly becoming the way people prefer to learn & be informed. Has your company got one yet? Get your Free video quote here.
AE Script: Nudge Keyframes to Nearest Exact Frame: On request I have written a new useful script in After Effects for everyone in the AE Scripts community (I think it will work in older versions of AE too). This script moves/nudges all Transform keyframes in all layers in all comps to the nearest exact frame for any framerate. This is handy when you change from for example NTSC to PAL or to any other framerate and the keyframes do not line up to the new frames. The script goes through all comps within your project and nudges every Transform keyframe on every layer. The script is written by myself from scratch, so this is my first script on request to help my fellow AE Scripters. Script was written for AE CS3 but should work in newer versions of AE.
Note: The Script works on all Transform keyframes, i.e. Anchorpoint, Position, Scale, Rotation and Opacity. It does not process any effects keyframes. Neither does it retain interpolation methods!
The Script is called ‘asu_NudgeKeyFrames.jsx’ and can be found here: download script
The Script works well in most situations, but there are some situations where a project has a lot of motion tracking data, that can cause problems: (many thanks to David Aughenbaugh who reported these limitations).