OpenCV can't capture video recording from camera

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)