Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Link pre-comp to outPoint of a footage layer with time-remapping and expressions

  • Link pre-comp to outPoint of a footage layer with time-remapping and expressions

    Posted by Matt Balderstone on October 20, 2021 at 12:57 pm

    Hi all,

    First time posting on here, so apologies if I have missed any previous discussions that might answer this query!

    Basically, I have been making a lot of dynamic templates in AE, which all started off using a plugin called ‘Templater’. I have moved on to creating Mogrt templates now and for the most part have been able to replicate most of the same features with expressions – except for one.

    Templater gives the user the ability to ‘pin’ one layer’s inPoint to another layer’s outPoint. This was really useful if you wanted to have a video clip be replaceable in the middle of a comp, without knowing how long the new clip will be. This feature automatically adjusted the following layers so that they always started at the right time (or overlapped the previous layer by a certain amount if a transition was required).

    From digging around and playing with some found expressions I have seen that this might be possible by using time remapping on pre-comps and then using an expression to link these keyframes the outpoint of the video clip in question.

    However, nothing I have found has specifically done this and I don’t know where to start creating my own expression :-s

    So far, I have expressions that either link the keyframes themselves to the inPoint and outPoint of the layer (instead of just playing from the outpoint) or an expression that moves the keyframes to the end of the comp (which is OK if this precomp is going to the be the last thing in the timeline, not so great if it is not!).

    So, wondered if anyone might be able to help?

    Thanks in advance!

    Matt

    Matt Balderstone replied 4 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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