Unable to open gstreamer pipeline using opencv VideoCapture on Jetson TK1
问题 I wrote a program that reads frames from a gstreamer pipeline, processes them with opencv libraries and then writes back to the gstreamer pipeline. Code snippet: cv::VideoCapture cap("v4l2src ! video/x-raw, framerate=30/1, width=640, height=480, format=RGB ! videoconvert ! appsink"); if (!cap.isOpened()) { printf("=ERR= can't create video capture\n"); return -1; } cv::VideoWriter writer; writer.open("appsrc ! videoconvert ! x264enc noise-reduction=10000 tune=zerolatency byte-stream=true