Duplicate Frame Remover

photo © Jim Skea via Flickr

Based on a request over at http://aenhancers.com and using the same engine i built for Magnum this script scans the footage and removes the duplicate frames by setting hold keyframes on the layer’s time-remapping channel. I imagine this could come in handy on roto jobs where the footage has funky pulldown or any other occasion where you need to remove duplicate frames from a clip.

**This script requires After Effects to be run in English**

Download: DuplicateFrameRemover.jsx (Requires After Effects CS3 or higher)


9 Responses to “Duplicate Frame Remover”

  1. Alex said on February 7th, 2008 at 4:16 pm

    Very useful script. It helped me with a roto job that had a lot of duplicate frames and made my life much easier

    Thanks Lloyd!

    Alex

  2. glennser said on April 8th, 2008 at 4:03 pm

    Wow, I don’t believe this, I just had a job where I’d rendered 23.98 comps to 29.97 duplicating frames instead of putting pulldown in it (part of the project was built at 29.97 native and I didn’t want to deliver a mix of pulldown and progressive, it was a big job with at least 4 animators working to different specs as usual), the client didn’t want to pay for a pal conversion and then when they couldn’t do it themselves wanted us to do it for free (bastards!!)
    Anyway I was laying awake thinking about how to do it last night and reckoned that if I couldn’t get rid of the duplicate frames by nesting correctly I’d try to re-engineer your Magnum script to help me spot the duplicates.
    Nesting worked but I decided to give writing a script a go anyway , I come here you’ve already built the script for me!!
    Damn!! How will I ever learn if you keep doing the work for me you bastard!!
    Seriously, thanks a million, I know I’ll need to use this someday, you’re the man!!
    glennser

  3. Michael Lazar said on June 5th, 2008 at 4:20 am

    Just what I was looking for. Tip: comp that the clip is placed in should be no longer than the duration of the clip you are cleaning up.

  4. lloyd said on June 17th, 2008 at 3:30 pm

    Tip: If you are trying to use this script with a layer that has a bulit-in alpha channel and the script is removing all the frames, try precomping the layer with a solid bg (ie. to remove the transparency) and it should work as expected.

  5. pol day said on June 23rd, 2008 at 1:52 pm

    gracias

  6. david said on June 30th, 2008 at 8:00 pm

    every time i run the script it says the script doesn’t work in line 48 because null is not an object. im using ae cs3. is there maybe another version of the script that i could try out?

    big thanks,
    david

  7. lloyd said on July 1st, 2008 at 8:04 am

    Hi David,
    Are you running AE in english? This script only runs properly in english.

  8. david said on July 2nd, 2008 at 7:43 pm

    Yes, the problem was my cs3 was set on german. In the english version it works perfectly. Thank you very much.

    By the way… The easyest way to run AE in English is to open the LANGUAGES Subfolder and Select the English Version. Basically, this does nothing more than putting the -L EN Addition to the Shortcut, but its already prepared and ready to go.

  9. sunqi said on July 18th, 2008 at 9:21 pm

    veryg ood

Leave a comment

RSS feed for comments on this post · TrackBack URI

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>