Nicolas Abril - 2019-09-23

Another solution would be detecting the opencv version being used and decide to use the older CV_CAP_PROP_FRAME_WIDTH or the newer cv.CAP_PROP_FRAME_WIDTH from videoio.h