Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Dropping every other frame

  • Dropping every other frame

    Posted by Scott Lange on April 13, 2016 at 3:18 am

    I want to remove every other frame in a piece of footage (quicktime) and have that ‘every other frame’ completely transparent or dropped. Therefore XXX.001, XXX.003, XXX.005, etc is showing up but XXX.002, XXX.004 etc, is not showing up. I will then have another piece of footage beneath that footage that will show its alternate frames to create a certain effect. How do I do this?
    Sure, I can go ahead an render out frames with frame numbers and bring them back in with the frame numbers of each footage already mixed but named the same to create this effect, but that is too much work. I could use some kind of sequencer (like Babylon, AHEM dating myself) but I don’t have Babylon anymore.
    …thanks in advance

    Ido Shor replied 8 months, 1 week ago 3 Members · 6 Replies
  • 6 Replies
  • Chris Wright

    April 13, 2016 at 4:09 am

    enable timeremapping to output each to its own comp with this formula. use n=1 or n=2 for each comp.

    -modified from Dan Ebbert’s code:

    n = 2; // skip every nth frame
    frameToSkip = 0; // 0,1,2 …n-1
    currFrame = Math.round(time/thisComp.frameDuration);
    currFrame += Math.floor((currFrame – frameToSkip)/(n-1)) + 1;

  • Scott Lange

    April 13, 2016 at 4:24 am

    Chris, thank you so much. I need a little more guidance to make sure this works. I am not sure if I am implementing it correctly. Is there a guide that refers to the code so I may understand what it’s doing. I want to educate myself so I probably have to take a few steps back. Just point me in the proper direction.

    Scott Lange
    Burst FX

  • Chris Wright

    April 13, 2016 at 4:44 am

    alt click stopwatch to edit and paste expression into timeremapping area.

  • Scott Lange

    April 13, 2016 at 4:50 am

    Yes, I understand how to implement time remapping and what it is doing. I was actually talking about the expression and how it works because I want to customize it myself. I really appreciate it, Chris.

    Scott Lange
    Burst FX

  • Scott Lange

    April 13, 2016 at 5:30 am

    Actually, I think I can get what I want with the strobe light effect and using it on transparency. Thank you again.

    Scott Lange
    Burst FX

  • Ido Shor

    September 21, 2022 at 2:26 pm

    can you reference Dan’s original code please? thanks.

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