implementation from https://github.com/soCzech/TransNetV2 Pytorch implementation of TransNet V2 from transnetv2pt import predict_video scenes = predict_video('video.mp4')