<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I am running gstreamer in Ubuntu 19.10 and having troubles getting a
pipeline to work.<br>
This pipeline :<br>
<br>
<i>gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video2</i><b>
</b><br>
<br>
works as expected and sends the videotestsrc to my /dev/video2
device however I want to send a rtsp stream to /dev/video2.<br>
<br>
I have tried the following which I expected to work but it doesn't
work.<br>
<b><i><br>
</i></b>
<style type="text/css"><b><i>
pre { background: transparent }
pre.western { font-family: "Liberation Mono", monospace; font-size: 10pt }
pre.cjk { font-family: "Noto Sans Mono CJK SC", monospace; font-size: 10pt }
pre.ctl { font-family: "Liberation Mono", monospace; font-size: 10pt }
p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }
a:link { color: #000080; so-language: zxx; text-decoration: underline }</i></b></style><i><br>
</i>
<p><i>gst-launch-1.0 rtspsrc
location=<a class="moz-txt-link-freetext" href="rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa">rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa</a>
! decodebin ! videoconvert !
video/x-raw,width=640,height=480,format=RGB ! v4l2sink
device=/dev/video2</i></p>
<p><br>
</p>
Output of the command is:<br>
<br>
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
<a class="moz-txt-link-freetext" href="rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa">rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa</a>
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Got context from element 'vaapipostproc0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\
gldisplayx11-0";
Got context from element 'vaapipostproc0':
gst.vaapi.Display=context,
gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayDRM\)\
vaapidisplaydrm1";<br>
<br>
<br>
How can I get the same video/x-raw output format from rtspsrc as I
did from videotestsrc? I would really appreciate any pointers. I
have tried a bunch of things with no good results.<br>
Thanks,<br>
Jim<br>
<style type="text/css">
pre { background: transparent }
pre.western { font-family: "Liberation Mono", monospace; font-size: 10pt }
pre.cjk { font-family: "Noto Sans Mono CJK SC", monospace; font-size: 10pt }
pre.ctl { font-family: "Liberation Mono", monospace; font-size: 10pt }
p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }
a:link { color: #000080; so-language: zxx; text-decoration: underline }</style><br>
<br>
</body>
</html>