Opencv video capture error

that looks like it’s coming from some outdated 2.x version.

os ? opencv version ?