trying to rtsp stream

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

trying to rtsp stream

Jerry Geis-2
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: trying to rtsp stream

anjojohn
Hi Jerry,
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--

*With Best Regards*


*Anjo John*

VVDN Technologies Pvt Ltd

*Cell : *+91 9539931442 | Skype :anjojohn051
 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: trying to rtsp stream

Jerry Geis-2
In reply to this post by Jerry Geis-2
>Hi Jerry,
>Please look into the rtsp 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 "

I am trying this on windows and the windows binary I installed does not seem to have the test-*.c files compiled to exe's.
I did see some python stuff - is that what I'm supposed to use  ?
The test-launch I used before was under linux... Now I'm trying to use windows.
How do I do that  ?

Thanks,

Jerry


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: trying to rtsp stream

Thornton, Keith

Hi, it is true that the test.. exes are not part of the windows binaries. You have to compile them yourself L

 

Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Jerry Geis
Gesendet: Montag, 23. Oktober 2017 12:25
An: [hidden email]
Betreff: Re: trying to rtsp stream

 

>Hi Jerry,

>Please look into the rtsp 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 "

 

I am trying this on windows and the windows binary I installed does not seem to have the test-*.c files compiled to exe's.

I did see some python stuff - is that what I'm supposed to use  ?

The test-launch I used before was under linux... Now I'm trying to use windows.

How do I do that  ?

 

Thanks,

 

Jerry

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel