<p><a href="https://ffmpeg.org/ffmpeg-filters.html#mpdecimate" rel="nofollow noreferrer">mpdecimate</a> filter drop frames that do not differ greatly from the previous frame in order to reduce frame rate.</p>
<p>This command will filter the duplicate frames</p>
<pre><code>ffmpeg -i input.mp4 -vf mpdecimate -loglevel debug -f null -
</code></pre>
<p>To remove these duplicates and generate a video</p>
<pre><code>ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4
</code></pre>

CC BY-SA 4.0
2020-09-10T12:31:54.780Z
2020-09-10T12:31:54.780Z
MUK
<p>I have a surveillance camera video backup that works 24/7, and I need to store it for the record and ready to use if any checking is needed. (No Business usage just personal)</p>

<p>So I want a tool/software/..etc that can help me remove the duplicate frames or even check for example frames per minute and if they are not different remove the 60 seconds frames.</p>

<p>I'm sorry, I'm not a video editor so I've no XP in that matter.</p>

<p>If there is no such a tool, I'm a software developer with somewhat decent matlab experience with image processing, but I don't know if I can have something to help with the matter.</p>

<video-editor><editing><video-recording>
How to remove steady video frames from 24/7 video?
Eslam.Hamed
# How to remove steady video frames from 24/7 video?

(Asked by: username_0 on 2019-11-10)

I have a surveillance camera video backup that works 24/7, and I need to store it for the record and ready to use if any checking is needed. (No Business usage just personal)

So I want a tool/software/..etc that can help me remove the duplicate frames or even check for example frames per minute and if they are not different remove the 60 seconds frames.

I'm sorry, I'm not a video editor so I've no XP in that matter.

If there is no such a tool, I'm a software developer with somewhat decent matlab experience with image processing, but I don't know if I can have something to help with the matter.

**Tags:** video-editor, editing, video-recording


---

## 1 answers

### Answer by username_1 on 2020-09-10. Score: 1

mpdecimate filter drop frames that do not differ greatly from the previous frame in order to reduce frame rate.
This command will filter the duplicate frames
ffmpeg -i input.mp4 -vf mpdecimate -loglevel debug -f null -

To remove these duplicates and generate a video
ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4


---

