user36358: I have a 2 minute game capture that ranges from 60fps to 2fps but the capture is in 30fps. is there any way to discard the duplicate frames so that the video looks smooth? I was thinking of extracting every frame and discarding duplicate frames but that sounds like effort.

user31818: mpdecimate - Drop frames that do not differ greatly from the previous frame in order to reduce frame rate. Therefore, the command would be
ffmpeg -i canada_6.mp4 -vf mpdecimate out.ts


36358: <p>I have a 2 minute game capture that ranges from 60fps to 2fps but the capture is in 30fps. is there any way to discard the duplicate frames so that the video looks smooth? I was thinking of extracting every frame and discarding duplicate frames but that sounds like effort.</p>
 31818: <p><a href="https://ffmpeg.org/ffmpeg-filters.html#mpdecimate" rel="nofollow noreferrer">mpdecimate</a> - Drop frames that do not differ greatly from the previous frame in order to reduce frame rate. Therefore, the command would be</p>
<pre><code>ffmpeg -i canada_6.mp4 -vf mpdecimate out.ts
</code></pre>
