Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how can use gstreamer with rtsp stream

Hello, I have found that gstreamer can be use to play video frame from web-cam as below:

VideoCapture cap("v4l2src ! video/x-raw,format=BGR,width=640,height=480,framerate=30/1 ! appsink",CAP_GSTREAMER);

Now, i have tried to make some changes to read video frame for "rtsp" stream,but i got some errors. Can anyone modify above line to use "rtsp" stream instead of camera-device '0'.

Regards, Kishan Patel.