<p>Following the short tutorial <a href="http://www.youtube.com/watch?v=nNGA-QyQ4rk" rel="nofollow noreferrer">here</a> to make a loop in After Effects using time remapping and the loopOut() expression I encountered some odd behaviour.
In the tutorial it is mentioned that when this method is used a black frame appears between the loops. To remedy this problem one needs to create a new time remapping keyframe the frame before the last one and then delete the last one. This should give a smooth loop.
However, instead of the black frame my frame gets "sheared" as shown below:</p>

<p>Normal frame:
<img src="https://i.sstatic.net/fJHJy.png" alt="enter image description here">
Sheared frame:
<img src="https://i.sstatic.net/dyCHB.png" alt="enter image description here">
How can I get a loop using (preferably using loopOut) and not get a sheared frame in the loop? I'm using After Effects CS5.5 on Mountain Lion 10.8.3.</p>

CC BY-SA 3.0
2013-05-31T13:36:59.117Z
This seems very odd.  Are you sure this isn't a problem with the source file?  How was the source originally developed?
AJ Henderson
CC BY-SA 3.0
2013-05-31T19:22:27.583Z
I am applying the time remapping to a pre-comp containing three layers with identical content. The content is a jpeg sequence of 5 frames, looped 10 times (through `interpret -> loop`). I have three layers, one of them is the main image, the other two are masking the sides of the image with the same content. Playing the pre-comp without time remapping works fine.
Saaru Lindestøkke
CC BY-SA 3.0
2013-05-31T19:23:42.323Z
Any chance you could post the project files somewhere that we could take a look at them.  The behavior seems very odd.
AJ Henderson
CC BY-SA 3.0
2013-05-31T20:15:26.457Z
I've uploaded it here: http://www.mediafire.com/?837pzj72hpd5z9r
The behaviour seems to revert to a black frame instead of a sheared frame after a restart of AE. However, if I replace the last keyframe in the new session, the sheared frame is present again.
Saaru Lindestøkke
CC BY-SA 3.0
2013-05-31T20:44:56.030Z
Yeah, the black frame is more what I would expect.  The shearing is very odd behavior.
AJ Henderson
CC BY-SA 3.0
2013-05-31T22:20:25.997Z
It does appear to be a bug.  I was unable to reproduce the problem on the Windows version of CS6 and the loop appears to work fine for me.  I unfortunately had to uninstall CS5.5 when I installed CS6, so I can't test on the Windows version of CS 5.5.  Your keyframe for the loop was off by one frame (you were looping on 1:04 instead of 1:05 (your video ends on 1:06)) but that shouldn't cause the problem you are seeing.
AJ Henderson
CC BY-SA 3.0
2013-05-31T22:22:45.067Z
Oh, one last thought, have you tried removing the de-gitter effect?  That may be trying to blend between the jumping frames.  I didn't have a matching effect so I had to disable that.  That's the only difference I had with my trial run (other than the different platform and AE version.)
AJ Henderson
<after-effects>
Why does After Effects shear my last frame in a loop?
Saaru Lindestøkke
# Why does After Effects shear my last frame in a loop?

(Asked by: username_0 on 2013-05-30)

Following the short tutorial [here](http://www.youtube.com/watch?v=nNGA-QyQ4rk) to make a loop in After Effects using time remapping and the loopOut() expression I encountered some odd behaviour.
In the tutorial it is mentioned that when this method is used a black frame appears between the loops. To remedy this problem one needs to create a new time remapping keyframe the frame before the last one and then delete the last one. This should give a smooth loop.
However, instead of the black frame my frame gets "sheared" as shown below:

Normal frame:
![enter image description here](https://i.sstatic.net/fJHJy.png)
Sheared frame:
![enter image description here](https://i.sstatic.net/dyCHB.png)
How can I get a loop using (preferably using loopOut) and not get a sheared frame in the loop? I'm using After Effects CS5.5 on Mountain Lion 10.8.3.

**Tags:** after-effects

> **Comments:**
> **username_1**: This seems very odd.  Are you sure this isn't a problem with the source file?  How was the source originally developed?  
> **username_0**: I am applying the time remapping to a pre-comp containing three layers with identical content. The content is a jpeg sequence of 5 frames, looped 10 times (through `interpret -> loop`). I have three layers, one of them is the main image, the other two are masking the sides of the image with the same content. Playing the pre-comp without time remapping works fine.  
> **username_1**: Any chance you could post the project files somewhere that we could take a look at them.  The behavior seems very odd.  
> **username_0**: I've uploaded it here: http://www.mediafire.com/?837pzj72hpd5z9r The behaviour seems to revert to a black frame instead of a sheared frame after a restart of AE. However, if I replace the last keyframe in the new session, the sheared frame is present again.  
> **username_1**: Yeah, the black frame is more what I would expect.  The shearing is very odd behavior.  
> **username_1**: It does appear to be a bug.  I was unable to reproduce the problem on the Windows version of CS6 and the loop appears to work fine for me.  I unfortunately had to uninstall CS5.5 when I installed CS6, so I can't test on the Windows version of CS 5.5.  Your keyframe for the loop was off by one frame (you were looping on 1:04 instead of 1:05 (your video ends on 1:06)) but that shouldn't cause the problem you are seeing.  
> **username_1**: Oh, one last thought, have you tried removing the de-gitter effect?  That may be trying to blend between the jumping frames.  I didn't have a matching effect so I had to disable that.  That's the only difference I had with my trial run (other than the different platform and AE version.)  

---

## 0 answers

