I\'m taking a video file in Python and using opencv\'s VideoCapture() and .read() to store the frames one by one in an array. This has worked fine
VideoCapture()
.read()