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

loopOut only loop once

New Here ,
Sep 18, 2019 Sep 18, 2019

Hello ,

 

I try to make an imported composition (6s) loop on the main composition (+-16s)

I used time remap/loopOut, it works fine except it only does the loop once...it stops at 12s

 

howa can that be ?

thanks

 

Untitled.png

3.1K
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 ,
Sep 18, 2019 Sep 18, 2019

I see two keyframes, barely, in your screenshot and it looks like they are at the start and end of the comp. If you want six loops then you need to extend the length of the layer beyond the last Time Remapping keyframe. 

 

If you just enabled time remapping and then added loopOut() to the property, there is no need for all the other code because "cycle" is the default, then you are going to end up with an empty frame. Here's the workflow for time remapping an animation.

  1. Set up your animation to complete in a certain amount of time
  2. If you want a seamless animation make sure that the first and last frame of the animation is identical
  3. Trim the layer to one frame before the animation starts over - if the first and last frame are identical then just back up one frame and trim the layer or layers
  4. If you are going to pre-compose then choose trim comp to layer length.  If you are going to nest the comp in another comp trim the comp length to the end of the layer
  5. Apply Time remapping to the nested comp (pre-comp) using the shortcut or the menu. This will set two keyframes and extend the length of the nested comp to the length of the new comp
  6. Use the k key to jump to the last frame of Time Remapping - there should be nothing visible from the nested comp
  7. Use Ctrl/Cmnd + left arrow to move back one frame and set a new keyframe using the new keyframe tool - the last frame of the animation is now visible
  8. Hold Alt/Option and Click on the Time Remapping stopwatch to start an expression
  9. Enter loopOut() to cycle the loop forever

That's all there is to it but if you don't follow those steps you won't get a loop that lasts as long as the layer.

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
New Here ,
Sep 18, 2019 Sep 18, 2019

I updated the screenshot, I use loopOut(type="cycle",numKeyframes=0)

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 ,
Sep 18, 2019 Sep 18, 2019
Now I only see one keyframe. I suspect that you did not trim the pre-comp to the length of the animation and that you did not set a new keyframe and delete the original last keyframe.
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
New Here ,
Sep 18, 2019 Sep 18, 2019
is precomp mandatory ?
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
New Here ,
Sep 19, 2019 Sep 19, 2019

"5. Apply Time remapping to the nested comp (pre-comp) using the shortcut or the menu. This will set two keyframes and extend the length of the nested comp to the length of the new comp" I had to do this manualy

 

"6. Use the k key to jump to the last frame of Time Remapping - there should be nothing visible from the nested comp" k key does not do anything on the screen

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
New Here ,
Sep 18, 2019 Sep 18, 2019

I use an imported comp, not a precomp

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 ,
Sep 18, 2019 Sep 18, 2019
A nested comp is the same thing. The problem is that your comp is not long enough to loop in the comp. just follow the instructions I gave.
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 ,
Sep 18, 2019 Sep 18, 2019

Enabling Time Remapping should have placed a second keyframe one frame after the last frame of your nested Comp.  It seems to be missing.

 

It's the range of keyframes that gets looped, so you'd need a Time Remapping keyframe at the head of the comp and one a the tail.

 

2nd Keyframe Where Nested Comp Would have Ended.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
New Here ,
Sep 19, 2019 Sep 19, 2019

from the tutorials, the second key has to be placed at the end

Untitled.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
New Here ,
Sep 19, 2019 Sep 19, 2019

Untitled.pngalso I dont understand why is my sub comp running for 12s instead of the original 12s, why a ratio of 2

I never been prompted for that ratio when adding time remap

there are also no setting for this

why is AE so cryptic to do such a simple f@# task ?

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
New Here ,
Sep 19, 2019 Sep 19, 2019
LATEST
ok I figured it out, the key should be at the end of my sub comp and also I had to trim my subcomp to the workarea
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