You could use technic based on openCV provided here by replacing using cv2.VideoCapture with your video filename as arguement
You could use technic based on openCV provided here by replacing using cv2.VideoCapture with your video filename as arguement