video - opencv and ffmpeg multipart avi files > 2GB -


is there way opencv can read large (>2gb) .avi video files?

i using opencv 3.0 , python 2.7 on windows 7 64 bit.

i have mpeg4 compressed .avi files, > 2gb. these created using ffmpeg. such files read fine point using following commands:

import cv2 #avi_path full path avi cap = cv2.videocapture(avi_path) img1=cap.read() 

but @ frame number, read() returns 'false'

using gspot, found such problematic videos 'multipart opendml avi' , read() seems able read first part. doing google searches, seems other people having similar issues no obvious solution.

apparently, opencv videowriter limited 2 gb videos: opencv documentation limitation in videocapture design also?

is there workaround perhaps read large video files? alternatively, can avoid creating multipart avi files in ffmpeg?

the ffmpeg avi muxer generate opendml file if file >2gb. coincidentally, there no way create avi files > 2gb without opendml extensions, you're out of luck. way create non-opendml (avi) files keep them under 2gb; alternatively, use other (non-avi) container format.

but far best bet make opencv support opendml, either writing support extension demuxer, or having them use ffmpeg's demuxer instead of own.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -