How to automatically split a video into scenes?