Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to set even Keyframes?

Explorer ,
Apr 12, 2019 Apr 12, 2019

Is there any Shortcut or Script to manipulate for example 10 keyframes all randomly setted in the time line to the exact same length between each other? So like align "distance between".

Thanks in advance,

Fabian

3.5K
Translate
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
Community Expert ,
Apr 12, 2019 Apr 12, 2019

I used an old technique to do this. If you copy your Keyframes and paste it into a Notepad or Textedit file, you should see the info of your keyframes as a text. Under the Frame column, you can change the number to set the duration interval you need between them. Then, copy again this text and paste it into you parameter in After Effects. Your keyframes will be set at the position you changed in the text file.

I'm looking for a script at aescripts but not sure if exists something to do this automatically.

Translate
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
Community Expert ,
Apr 12, 2019 Apr 12, 2019

If they're all on the same property, then rove across time may be what you need. If they're on different props then try the Rift script.

Translate
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
Explorer ,
Apr 15, 2019 Apr 15, 2019

So I tried the Rift script, but in my case thats not the exact thing I was looking for. It does Align Keyframes to different patterns, but unfortunately It can't set random keyframes in one comp to the same distance between each other. Correct me if I'm wrong

Translate
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
Explorer ,
Apr 12, 2019 Apr 12, 2019

Thank you justin, I'm gonna try this

Translate
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
Explorer ,
Apr 15, 2019 Apr 15, 2019

This seems like a good technique, but way to cumbersome in my opinion. There should be a particular align option for keyframes.

Translate
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
Explorer ,
Apr 26, 2019 Apr 26, 2019

Someone got an idea? I still can't figure it out how to even the keyframes

Translate
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 ,
Apr 26, 2019 Apr 26, 2019

I think this script does it: https://aescripts.com/keyboard/

Translate
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
Explorer ,
Apr 29, 2019 Apr 29, 2019

If I see it right, it moves the keyframes just to the time integer frames

Translate
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 ,
Apr 29, 2019 Apr 29, 2019

yes you are correct. it seems there is not script for it. what you could do is manually set those keyframes to be one frame after the other and then use the Alt key to expand them evenly as you drag the last keyframe. this will keep proportions.

Translate
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
Valorous Hero ,
Apr 29, 2019 Apr 29, 2019

If you split (CTRL+SHIFT+D) the original layer at each keyframe, you can then use one of Rift's Key Align options to get all the KFs onto the same time. Then you use Rift's Stagger option to stagger the keyframes in time, uniformly. Of course, ensure that you set Rift up to work only with Selected Keyframes

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
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
Explorer ,
May 03, 2019 May 03, 2019

That's definitely a way, but in my case not worth the price, I thought there would be a faster way as dragging them manually around

Translate
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
Valorous Hero ,
May 03, 2019 May 03, 2019

You may get what you want using Roei's suggestion, coupled with this AE Script - https://sundstedt.se/blog/ae-script-nudge-keyframes-to-nearest-exact-frame/

Depending on how many KFs you have and how they are spread out, you may be able to get this done. Additionally, an Expression should be able to do this quite nicely - the issue is with finding someone to write the Expression for you. There's no harm trying your luck here - After Effects Expressions

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
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
Explorer ,
May 03, 2019 May 03, 2019

Thank you Roland and Roei. I'll definitely try it out. Most of the time it's not a big deal to drag them manually even, but let's see if someone in the After Effects Expressions section knows how to get there.

Translate
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
Community Expert ,
May 03, 2019 May 03, 2019
LATEST

Here's what I would do with 10 keyframes.

  1. Set the CTI to the first keyframe
  2. Press Shift + Ctrl/Cmnd + Right Arrow to move forward in the timeline 10 frames
  3. Select the second keyframe and drag it to the CTI (snap enabled)
  4. Repeat with the next 8 keyframes
  5. Move the CTI to the point in the timeline where you want the last keyframe
  6. Select the property to select all 10 keyframes
  7. Hold down the Alt/Option key and drag the last keyframe to the CTI and all 10 will be evenly spaced.

Just tried it with 10 keyframes - took me less than a minute.

If you have a hundred keyframes this won't be very quick, but with 10, it's all you need.

Second option:

Set the CTI on the first keyframe, press the * key to add a layer marker, press Shift + Ctrl/Cmnd + Right Arrow to move down the timeline 10 frames, press the * key to add another layer marker, repeat as many times as needed, Hold down the shift key and drag the keyframes to the markers in order, use the Alt/Option + drag last keyframe to adjust the spacing.

Translate
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