gstreamer - How to open an rtp jpeg stream in opencv? -
I'm trying to open a video stream in opencv but I'm having some problems I started a stream on it I can:
GST-Launch-V v4l2src device = / dev / video0! 'Video / X-Raw-UUV, width = 640, height = 480'! Jpegenc quality = 30! Rtpjpegpay! Udpsink host = 127.0.0.1 port = 1234
`
and I can open it with:
gst-launch udpsrc Port = 1234! "App / X-RTP, Payload = 127"! Rtpjpegdepay! Jpegdec! Xvimagesink sync = false
But when I tried to open it in my code with
VideoCapture cv_cap; Cv_cap.open ("RTP: 127.0.0.1: 1234 /");
I get an error about missing SSP files. I know what a sdp file is and I should get information from gystream output for this, but I do not understand how to parse the output.
Comments
Post a Comment