2

I've created a "time lapse video" where much of the footage is essentially just a static image. Is there a way to automatically remove all frames but the ones that are changed?

2
  • 1
    Doesn't sound like a job for premiere. Processing or openFrameworks might be the go.
    – stib
    Mar 15, 2017 at 12:24
  • Or ffmpeg with one of the decimate filters.
    – Gyan
    Mar 15, 2017 at 13:01

1 Answer 1

1
ffmpeg -i in.mp4 -vf
"select='if(gt(scene,0.01),st(1,t),lte(t-ld(1),1))',setpts=N/FRAME_RATE/TB"
trimmed.mp4

You can do it with FFMPEG. The standard mpeg command line tool.

Reference: https://stackoverflow.com/questions/40966394/how-to-simply-remove-duplicate-frames-from-a-video-using-ffmpeg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.