Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions random freeze frame time remapping

  • Dan Ebberts

    March 5, 2011 at 6:22 pm

    >Is that wrong?

    Yes. Just disable time remapping and re-enable it and everything should be fine.

    Dan

    P.S. — You’ll need to re-apply the expression as well.

  • S.j. Deluise

    March 5, 2011 at 6:52 pm

    Ok, Time-remap reapplied without the held keyframe, as well as expression.
    Still something wrong. Maybe it’s my precomp?
    It’s 23-frames long, with 23 one-frame images sequenced.

  • Dan Ebberts

    March 5, 2011 at 7:23 pm

    Have you left the keyframes untouched, but extended the length of the layer?

    Dan

  • Dan Ebberts

    March 5, 2011 at 7:30 pm

    try changing the last line of the expression to this:

    freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)

    Dan

  • S.j. Deluise

    March 5, 2011 at 7:43 pm

    Yes, exactly that.
    But I just noticed something, a possible clue. If I don’t extend the length of the layer, it’s working. I even changed ‘freezeFrames’ to 6 and the speed is changing, which is good.

    But once I extend the layer, it stops randomizing. The time remap value is predominantly :22 (the last frame of the precomp) and it shows no image, just empty.

  • Dan Ebberts

    March 5, 2011 at 7:54 pm

    Sorry, my previous post was out of sequence. Maybe you missed this:

    try changing the last line of the expression to this:

    freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)

    Dan

  • S.j. Deluise

    March 5, 2011 at 10:01 pm

    Ahhh, I did miss it, and that was indeed the magic ingredient.
    I tip my hat to your brilliance and assistance. Thanks so much, this works like a charm.

    freezeFrames = 3;
    seed = Math.floor((time – inPoint)/framesToTime(freezeFrames));
    seedRandom(seed,true);
    freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)

Page 2 of 2

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