<div dir="ltr">Hi Jerry,<div><div>Please look into the rtsp examples <br><a href="https://github.com/GStreamer/gst-rtsp-server/tree/master/examples" target="_blank">https://github.com/GStreamer/<wbr>gst-rtsp-server/tree/master/<wbr>examples</a></div><div>use the test-launch binary for creating a RTSP server </div></div><div>./test-launch " <span style="font-size:12.8px">ksvideosrc device-index=0 ! decodebin ! videoconvert ! x264enc ! rtph264pay pt=96 name=pay0 </span>"</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 6:06 AM, Jerry Geis <span dir="ltr"><<a href="mailto:jerry.geis@gmail.com" target="_blank">jerry.geis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am trying to rtsp stream the video<div>gst-launch-1.0 ksvideosrc device-index=0 ! decodebin ! videoconvert ! x264enc ! rtph264pay pt=96 ! fakesink<br></div><div><br></div><div>seems to work </div><div><br></div><div>then when I try to view with on the same machine I get an error.</div><div><div>gst-launch-1.0.exe rtspsrc location=rtsp://localhost ! decodebin ! videoconvert ! autovideosink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Progress: (open) Opening Stream</div><div>Progress: (connect) Connecting to rtsp://localhost</div><div>ERROR: from element /GstPipeline:pipeline0/<wbr>GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.</div><div>Additional debug info:</div><div>gstrtspsrc.c(6775): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/<wbr>GstRTSPSrc:rtspsrc0:</div><div>Failed to connect. (Generic error)</div><div>ERROR: pipeline doesn't want to preroll.</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div></div><div><br></div><div><br></div><div>What am I missing ?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jerry</div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>*With Best Regards*<br><br><br>*Anjo John*<br><br>VVDN Technologies Pvt Ltd<br><br>*Cell : *+91 9539931442 | Skype :anjojohn051<br> <br><br></div>
</div>