Remove repetitive scenes from video with machine learning