Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Source Text Expression – Caching Slow

  • Source Text Expression – Caching Slow

    Posted by Gary Sweeney on October 4, 2023 at 9:01 am

    Hi, the machine I’m using is a MacBook Pro, Apple M2 Max chip, 64GB RAM & 1TB Hardrive.

    I’ve recently added the expression below to a text layer:

    txt=thisComp.layer(index+1).name

    txt.slice(4, -10);

    This is looking at the video file name below the text layer for the source text and then removing the first 4 and last 10 characters i.e. 01. Banner Name 00001.mp4 becomes Banner Name.

    There is also some effects added to create a box banner effect around the text, see image.

    The issue is that the preview has become very very slow on my machine (previously it was very good).

    Another colleague is using the exact same machine with the same settings and having no issue with playback.

    If I remove the expression it works perfectly.

    Any advice would be appreciated.

    Julian Chojnacki replied 2 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Julian Chojnacki

    October 4, 2023 at 3:56 pm

    Hi Gary,

    try using posterizeTime(0); on top of your code to ensure it only gets calculated once rather than for every frame.

    Another way to help speed up playback would be converting your footage into ProRes as AE struggles with .mp4 files

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