Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Time remap with markers

  • Time remap with markers

    Posted by Kirill Komrakov on February 28, 2019 at 10:59 am

    Hi! I need some help with the time remaping. It is a template for titles and lower thirds. Usually i just place two keyframes in the begining and in the end of the composition and by moving them you can adjust duration. But recently i’ve found an expression which is binding two keyframes to a marker and by moving markers you can change duration. The problem is, that in the frame just before the second marker some things just dissapper. I’ve tested it in diffrenet versions of AE but the problem still there and i can’t figure out why. All i can think of it there is something wrong with calcultaion of time.

    Here is how it looks

    Here is the screenshot for this issue

    Here is the link to a project file if someone decide to look into it (AE 2017 required)
    13160_modernminimaltitles.aep.zip

    It is not something very important but i just want to figure what is wrong with it. Thanks for help in advance!

    The expression

    T = thisLayer;
    if ((T.marker.numKeys > 1 ) && (numKeys > 3)){
    sIn = key(2).time - key(1).time;
    sOut = key(4).time - key(3).time;
    eIn = T.marker.key(1).time;
    eOut = T.marker.key(2).time;
    if (time < T.marker.key(2).time)
    linear(time,eIn-sIn,eIn,key(1).value,key(2).value)
    else
    linear(time,eOut,eOut+sOut,key(3).value,key(4).value);
    }else
    value;

    Kirill Komrakov replied 7 years, 5 months ago 2 Members · 4 Replies
  • 4 Replies
  • Oleg Pirogov

    February 28, 2019 at 10:49 pm

    Can be fixed by toggling Collapse Transformations.

  • Kirill Komrakov

    February 28, 2019 at 10:52 pm

    Amazing….. thanks a lot, that worked!
    Any idea why this happened? Just curiose.

  • Oleg Pirogov

    March 1, 2019 at 3:28 am

    It’s Motion Blur issue. Namely, Motion Blur applied to shape layers of nested comp with animated Scale.

    Due to the big time skip at the problem point, Motion Blur acts weirdly, sampling frames far from actual frame.
    The “disappearing” elements are elements with applied Motion Blur that samples frames from time where Scale=0%.

    By default Scale animations are rendered before Time Remap. Collapse Transformations makes them being rendered after Time Remap.

    Another fix is to set Shutter Phase = 0 in nested comp settings (Advanced tab).

  • Kirill Komrakov

    March 1, 2019 at 11:07 am

    Ok, got it. Thanks a lot!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy