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

Issue with Time Remapping

Explorer ,
Feb 05, 2025 Feb 05, 2025

Hi community! 

 

I'm running into an issue with this property. I'm sure this is an easy fix but I don't really understand how it works. I have a composition and I want to loop part of it, from about 2 seconds in. I applied Time Remapping, added the keyframes to the parts I want to loop and used the loopOut expression, but this only seems to delay the first frame and then squeeze the timing of the whole composition into the sections marked by the keyframes. What is the right way to do this?

EDIT: I have my original composition precomped.

 

Thank you!

chamilila_0-1738781108097.png

 

TOPICS
Expressions , FAQ
263
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

correct answers 1 Correct answer

Community Expert , Feb 05, 2025 Feb 05, 2025

If I'm interpreting what you're asking correctly, you would enable time remapping, move the CTI to 2 seconds and click Time Remap diamond to create a keyframe there, and then use a Time Remap expression like this:

t = time%(key(3).time - key(2).time);
key(2).time + t
Translate
Community Expert ,
Feb 05, 2025 Feb 05, 2025

If I'm interpreting what you're asking correctly, you would enable time remapping, move the CTI to 2 seconds and click Time Remap diamond to create a keyframe there, and then use a Time Remap expression like this:

t = time%(key(3).time - key(2).time);
key(2).time + t
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 ,
Feb 05, 2025 Feb 05, 2025

Hi Dan! Thank you for your answer. So I should have one keyframe where I want the loop to start, and what about the other one? At the end of the composition?

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 ,
Feb 05, 2025 Feb 05, 2025

To be clear this is what I am trying to attempt. I thought this could be achieved just by using loopOut?

chamilila_0-1738809117057.png

 

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 ,
Feb 05, 2025 Feb 05, 2025
LATEST

The problem is skipping the part before the loop (which is what I assumed you wanted). LoopOut, by itself won't do that. You could probably fiddle with the keyframes and make it work, but that seems like more trouble than the way I did it.

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 ,
Feb 05, 2025 Feb 05, 2025

I was assuming you'd leave the two keyframes created when you turn on time remapping, so yes, a total of 3.

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