Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Doubt with OpenCV VideoCapture and gstreamer pipeline

Hello,

To make VideoCapture be able to open a gstreamer pipeline as

capture.open("v4l2src device=/dev/video0 ! videoconvert ! video/x-raw,width=544,height=288,framerate=10/1 ! appsink");

is it required to compile OpenCV with WITH_GSTREAMER=ON macro defined ? I am asking it because the pipeline works with gst-launch, but not with my opencv program.