I have dozens of video files containing scenes of movement interspersed with 5-10 second periods of nothing happening (many identical frames in a row). There's no audio track and I'd like to strip the identical frames to remove those pauses and keep only the movement.

Is there a (preferably free) tool to accomplish this?

1 Answer 1


This can be accomplished with the mpdecimate filter in the free program ffmpeg:

ffmpeg -i "in.mp4" -vf "mpdecimate" "out.mp4"


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