Skip to main content
YamRam
Participating Frequently
March 22, 2019
質問

Cannot loop a precomp

  • March 22, 2019
  • 返信数 4.
  • 3770 ビュー

Hi. I am trying to loop a simple 5-second animation, and after 25 tutorials and 10 hours, nothing has worked.

I've precomposed it, brought that into a new comp, and did the whole time-remapping, with the Expression set to loopOut .

I've tried 5 different variations of the "cycle" expression

I've tried various Remap techniques. You name it, I've tried it.

I export it to Encoder, and final  mp4 - does not loop, it just plays once.

What am I doing wrong?

I'm very new to AE. Thanks a lot.

このトピックへの返信は締め切られました。

返信数 4

Participant
September 14, 2024

You cannot edit the precomp before looping it, such as cutting it. Otherwise, the remap won't work correctly, and then the loop won't work either. Make sure to initially create the composition of the desired length, from which you make the precomp for the loop.

 

 

Ro Hackett
Inspiring
December 31, 2020

Hey funny enough you can do what you are looking for with loop embedded in the file using the animation timeline in photoshop... watch this vid...

https://youtu.be/bq14Wf7R1WE

 

 

Roei Tzoref
Legend
March 22, 2019

it seems by your description to ”export to mp4 and play only once” that you expect your video file to play in a loop in the player... that is - play over and over even though it’s one animation for beginning to end of the duration of your video. if you want your video file to play in A loop you need to set the loop option in the player you are using. This is not related to using timeremapping in Ae to make an animation play over and over in one video file from start to finish.

Community Expert
March 23, 2019

You can loop a pre-comp or nested comp in AE by enabling time remapping using the keyboard shortcut

Doing that will extend the out point of the layer to the end of the composition. The Time Remapping keyframes will be displayed. Press k to move to the last keyframe. Now press Ctrl/Cmnd + left arrow to move back one frame and set a new time remapping keyframe. Hold down the Alt/Option key and click the Time Remapping stopwatch to add a new keyframe at the start of the last frame of the comp. Press the k key again to move to the last keyframe and delete that keyframe. You can do this in the timeline or carefully select the keyframe and delete it. Now, hold down Alt/Option and click the Time Remapping stopwatch or use the Animation menu to add a new expression and simply type loopOut().

This will loop the composition. If the first frame of the original comp and the last frame are identical you will have a perfectly seamless loop.

If you are expecting a rendered video to loop there is nothing you can add to the metadata in any video format from After Effects or the Adobe Media Encoder that will force any media player to continuously loop a video.

YamRam
YamRam作成者
Participating Frequently
March 25, 2019

Hi. I've tried that many times,,but it still doesn't loop after it's rendered.

The AE file has the LoopOut function the time remapping - I've followed these steps, as well as similar tutorials. Not sure how to export a simple gif-type render that loops.

Do you do that in Encoder somewhere? Thanks a lot

Martin_Ritter
Legend
March 22, 2019

How long is the composition, you put the loop on? Could it be it just playing once, because it has only 5 secs in length?

For further investigation, a screenshot of your project including the composition in question with the expression-text visible would be helpful.

*Martin