Cut a video file and optionally merge the clips