<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Following up on this I got the rtstp stream into /dev/video2 to
      work using this pipeline:</p>
    <p> </p>
    <pre class="western">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> ! rtph264depay ! avdec_h264 ! decodebin ! videoconvert ! "video/x-raw,format=YUY2" ! v4l2sink device=/dev/video2</pre>
    <p>
      <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></p>
    <div class="moz-cite-prefix">Jim<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 2020-05-07 8:34 a.m., desjare wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1588854849400-0.post@n4.nabble.com">
      <pre class="moz-quote-pre" wrap="">Hi,

I think you need to use rtspclientsync to send media to rstp.

I use this for audio:

gst-launch-1.0  filesrc location=ogg.ogg ! oggdemux ! rtspclientsink
do-timestamp=1 debug=true latency=0
location=<a class="moz-txt-link-freetext" href="rtsp://127.0.0.1:8554/test/record">rtsp://127.0.0.1:8554/test/record</a>

Eric



--
Sent from: <a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/">http://gstreamer-devel.966125.n4.nabble.com/</a>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
  </body>
</html>