trying to rtsp stream

Anjo John anjo.john at vvdntech.in
Mon Oct 23 03:38:40 UTC 2017


Hi Jerry,
Please look into the rtsp examples
https://github.com/GStreamer/gst-rtsp-server/tree/master/examples
use the test-launch binary for creating a RTSP server
./test-launch " ksvideosrc device-index=0 ! decodebin ! videoconvert !
x264enc ! rtph264pay pt=96 name=pay0 "


On Mon, Oct 23, 2017 at 6:06 AM, Jerry Geis <jerry.geis at gmail.com> wrote:

> I am trying to rtsp stream the video
> gst-launch-1.0 ksvideosrc device-index=0 ! decodebin ! videoconvert !
> x264enc ! rtph264pay pt=96 ! fakesink
>
> seems to work
>
> then when I try to view with on the same machine I get an error.
> gst-launch-1.0.exe rtspsrc location=rtsp://localhost ! decodebin !
> videoconvert ! autovideosink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Progress: (open) Opening Stream
> Progress: (connect) Connecting to rtsp://localhost
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
> open resource for reading and writing.
> Additional debug info:
> gstrtspsrc.c(6775): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/
> GstRTSPSrc:rtspsrc0:
> Failed to connect. (Generic error)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> What am I missing ?
>
> Jerry
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

*With Best Regards*


*Anjo John*

VVDN Technologies Pvt Ltd

*Cell : *+91 9539931442 | Skype :anjojohn051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171023/357bf14f/attachment.html>


More information about the gstreamer-devel mailing list