http streaming with gst-launch (GStreamer)
How do I do http streaming with GStreamer?
Yes, I googled it and couldn't find an answer to this simple question anywhere.
I think you can use new hlssink
plugin
Simple pipe to test hlssink
localy:gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink max-files=5
then run vlc:cvlc playlist.m3u8
if you want stream via net, start you web server and correct pipe:gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink max-files=5 playlist-root=http://server.com location=/var/www/hlssink playlist-location=/var/www/hlssink
there/var/www/hlssink
is your document_root
directory
and open http://server.com/playlist.m3u8
playlist in vlc
You might be able to use the tcpserversink element from the tcp plugin: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-tcpserversink.html