Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Dealing with blank frame using time remap in a Script

  • Dealing with blank frame using time remap in a Script

    Posted by Miguel De mendoza on February 11, 2025 at 1:13 pm

    Hi there! I’m trying to deal with the time remap blank frame on a script, but I can’t get rid of it. I’tryed some things, trying to simulate manual fix, but nothing seems to workworks:

    //Try 1: set the last frame value to one less frame:

    var property = layer.property("ADBE Time Remapping");

    property.setValueAtKey(2, layer.source.duration - layer.source.frameDuration )

    //Try 2: create a new keyframe before the last one and remove the last one:

    var property = layer.property("ADBE Time Remapping");

    property.setValueAtTime(property.keyTime(2) -layer.source.frameDuration, layer.source.duration - layer.source.frameDuration)

    //Try 3: set the last frame value to one less frame and then change th out point of the layer

    var property = layer.property("ADBE Time Remapping");

    property.setValueAtKey(2, layer.source.duration - layer.source.frameDuration )

    layer.outPoint += layer.outPoint //I know this is not the way to extend outPoint, Is just for question porpouses

    Nothing seems to work until I move the out point manually on After Effects. Someone know if there is a way to fix it?

    Miguel De mendoza replied 1 month, 1 week 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