Skip to content Skip to sidebar Skip to footer

Can't Get Videocapture Property As The Property Identifier Are Not Defined

I am trying to process frames in a video file, and to know what is the current frame position in the video. cap = cv2.VideoCapture('Videos/IMG_2483.MOV') print('Position : %d' % ca

Solution 1:

It seems that CV_CAP_PROP_POS_MSEC is deprecated in your installed version of Opencv, Change it to cv2.CAP_PROP_POS_MSEC. Works good for me on Opencv 3.1


Post a Comment for "Can't Get Videocapture Property As The Property Identifier Are Not Defined"