Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions sourceText from anaother comp slows render down. A lot…

  • sourceText from anaother comp slows render down. A lot…

    Posted by Simon Robbrecht on August 24, 2010 at 1:21 pm

    Hi,

    I am using the following expression

    comp(“textcompcross”).layer(“xxxxx”).text.sourceText

    to define the text for 15 different textlayers in a comp.

    textcompcross is another composition with 70 textlayers which are filled with text via a script. (the script fills out the textlayers from a .csv)

    For some reason, these 15 expressions slow the render time down (4 times slower compared to rendertime of the same composition with the expressions disabled)

    Does anyone have a suggestion to speed up the rendering?

    Thank you

    Simon Robbrecht

    Dan Ebberts replied 15 years, 8 months ago 2 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    August 24, 2010 at 3:59 pm

    Maybe Animation > Keyframe Assistant > Convert Expression to Keyframes?

    Dan

  • Simon Robbrecht

    August 25, 2010 at 3:58 pm

    Thanks for the tip Dan but unfortunately that is not an option.

    The whole project consists of 42 comps with a total of 200+ textlayers. So converting the expressions to keyframes for all these layers would eliminate the time-benefit of automating everything with expressions…

    It still seems odd to me that it takes longer to render. One would think that the expression takes care of filling out the text layers before rendering. So rendering a textlayer that is filled out automatically should not take any longer than rendering out a manually inserted text.

    Or am I missing the whole expression-way-of-thinking clue?

    Simon

  • Dan Ebberts

    August 25, 2010 at 5:35 pm

    Each expression has to be evaluated on each frame.

    Dan

  • Simon Robbrecht

    August 25, 2010 at 9:03 pm

    I see. So the only way to avoid al this referencing is baking the info into keyframes.

    Is there a way to script an automation for this?
    In other words, is it possible to write a script that scans for text layers whose contents are generated by an expression and bake this info into keyframes? For all these layers in all different compositions and all at once?

    Or am i asking too much now?

  • Dan Ebberts

    August 25, 2010 at 10:21 pm

    That should be possible. I don’t think there’s a scripting function for the conversion to keyframes, so you’d have to have the script select the property and then execute the menu command. A little tricky if you haven’t done it before, but it should work.

    Dan

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