use CAP_GSTREAMER for pipelines like that, V4L is used for usb webcams (only)
check build logs or: cout << getBuildInformation(); to see, if what you built supports it !
(again, you have to build the opencv libs with gstreamer dev libs installed)
use CAP_GSTREAMER for pipelines like that, V4L is used for usb webcams (only)
check build logs or: cout << getBuildInformation(); to see, if what you built supports it !
(again, you have to build the opencv libs with gstreamer dev libs installed)