Is there a way OpenCV can read large (>2GB) .avi video files?
I am using openCV 3.0 and python 2.7 on Windows 7 64 bit.
I have mpeg4 compressed .avi files, often > 2GB. These are created using ffmpeg.
Such files read fine up to some point using the following commands:
#avi_path is full path to avi
cap = cv2.VideoCapture(avi_path)
but at some frame number, read() returns 'false'
Using Gspot, I found that such problematic videos are 'Multipart OpenDML AVI' and read() seems to only be able to read the first part. Doing some google searches, it seems other people are having similar issues but no obvious solution.
apparently, openCV VideoWriter is also limited to 2 GB videos:
Is the limitation in VideoCapture by design also?
Is there a workaround perhaps to read large video files?
Alternatively, can I avoid creating multipart avi files in ffmpeg?