This code uses OpenCV, numpy and imageIO
- Input file --file => video.mp4
- Mode --mode => simple
- Threshold --threshold => 0.2
- Gif Scene Duration --duration => 0.5
Just compare the pixels sum change in the current frame with the previous frame
Mean Squared Error
How much change in the video is considered a scene change. Best values falls between 0.2~0.3