cv2.VideoCapture get stride
Hi,
I would like to know how I can retrieve the stride (or line size) value from a python VideoCapture?
I am only able to get width and height from the capabilities like this:
vc = cv2.VideoCapture(args.video)
# Get capabilities
width = vc.get(cv2.cv.CV_CAP_PROP_FRAME_WIDTH)
height = vc.get(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT)
Stride is always equal to width with VideoCapture?