<pre><code>ffmpeg -i in.mp4 -vf
&quot;select='if(gt(scene,0.01),st(1,t),lte(t-ld(1),1))',setpts=N/FRAME_RATE/TB&quot;
trimmed.mp4
</code></pre>
<p>You can do it with FFMPEG. The standard mpeg command line tool.</p>
<p>Reference: <a href="https://stackoverflow.com/questions/40966394/how-to-simply-remove-duplicate-frames-from-a-video-using-ffmpeg">https://stackoverflow.com/questions/40966394/how-to-simply-remove-duplicate-frames-from-a-video-using-ffmpeg</a></p>

CC BY-SA 4.0
2021-09-16T03:37:46.710Z
2021-09-16T03:37:46.710Z
FlavorScape
<p>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?</p>

CC BY-SA 3.0
2017-03-15T12:24:06.000Z
Doesn't sound like a job for premiere. Processing or openFrameworks might be the go.
stib
CC BY-SA 3.0
2017-03-15T13:01:01.130Z
Or ffmpeg with one of the decimate filters.
Gyan
<premiere><adobe>
Can frames without motion be removed automatically in Adobe Premiere?
Brian
# Can frames without motion be removed automatically in Adobe Premiere?

(Asked by: username_0 on 2017-03-15)

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?

**Tags:** premiere, adobe

> **Comments:**
> **username_1**: Doesn't sound like a job for premiere. Processing or openFrameworks might be the go.  
> **username_2**: Or ffmpeg with one of the decimate filters.  

---

## 1 answers

### Answer by username_3 on 2021-09-16. Score: 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


---

