Hi, I'm quite new to gstreamer and I was wondering if I can create a stream
over rtsp://<url> or some kind of http adaptive streaming so that any commercial application that reads rtsp can read from the stream without some sdp file of some kind. My current pipeline is the folowing gst-launch-1.0 -v videotestsrc ! video/x-raw,format=RGB,width=1280,height=720,framerate=10/1 ! videoconvert ! x264enc speed-preset=ultrafast tune=zerolatency ! rtph264pay config-interval=1 pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false with this pipeline to read the stream with vlc for exmple I need a sdp file like the following v=0 m=video 5000 RTP/AVP 96 c=IN IP4 127.0.0.1 a=rtpmap:96 H264/90000 In this case I have two questions, can I read from vlc using rtps://<url> or can I use tcpserversink and in that case how do I have to edit my sdp file? Also I started reading about http adaptive streaming and I was wondering about the feasibility and latency of this method using hlssink. Can I make a pipeline using hlssink? Do I need apache or Nginx in front of that? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, take a look at the sources in the gst-rtsp-server project and in particular the test examples in the examples sub-directory. You can use RTSP instead of needing an SDP file
-----Ursprüngliche Nachricht----- Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von WisdomPill Gesendet: Montag, 11. September 2017 13:23 An: [hidden email] Betreff: Make gstreamer work with commercial stream readers Hi, I'm quite new to gstreamer and I was wondering if I can create a stream over rtsp://<url> or some kind of http adaptive streaming so that any commercial application that reads rtsp can read from the stream without some sdp file of some kind. My current pipeline is the folowing gst-launch-1.0 -v videotestsrc ! video/x-raw,format=RGB,width=1280,height=720,framerate=10/1 ! videoconvert ! x264enc speed-preset=ultrafast tune=zerolatency ! rtph264pay config-interval=1 pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false with this pipeline to read the stream with vlc for exmple I need a sdp file like the following v=0 m=video 5000 RTP/AVP 96 c=IN IP4 127.0.0.1 a=rtpmap:96 H264/90000 In this case I have two questions, can I read from vlc using rtps://<url> or can I use tcpserversink and in that case how do I have to edit my sdp file? Also I started reading about http adaptive streaming and I was wondering about the feasibility and latency of this method using hlssink. Can I make a pipeline using hlssink? Do I need apache or Nginx in front of that? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for the reply, but I was looking for a pipeline if possible because
I'm writing to it from opencv in python and it's the only feasible option I have since other live streaming consume too much resources in my raspberry pi. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mardi 12 septembre 2017 à 01:59 -0700, WisdomPill a écrit :
> Thanks for the reply, but I was looking for a pipeline if possible because > I'm writing to it from opencv in python and it's the only feasible option I > have since other live streaming consume too much resources in my raspberry > pi. Have a look at the examples first, you'll pass a subset of the pipeline (the source -> payload part) to Gst RTSP server and the RTSP server will build the RTP + SDP countepart. You can use appsrc of course. regards, Nicolas > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (201 bytes) Download Attachment |
Free forum by Nabble | Edit this page |