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 |
Hi Jerry, Please look into the rtsp examples https://github.com/GStreamer/ 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:
*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 |
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 |
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 >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 |
Free forum by Nabble | Edit this page |