Cutting repeating sequences of video files