show stream in webpage

Rand Graham rand.graham at
Tue Dec 3 17:23:59 UTC 2019


Have you looked into the hlssink? This will produce an hls stream that can be viewed in a browser.

HLS implies that you will be using a transport stream container, x264 video and aac audio.

Slomo’s blog

See slide 9 for example gst-launch:

More recently there has been support added to gstreamer for webrtc. I haven’t used it but it is an option.


From: gstreamer-devel [mailto:gstreamer-devel-bounces at] On Behalf Of R C
Sent: Tuesday, December 03, 2019 8:17 AM
To: Discussion of the development of and with GStreamer <gstreamer-devel at>
Subject: Re: show stream in webpage


I have been wrestling with that a while ago too, and decided to convert a steam (rtsp) into a format (I believe it was mpg4) that browsers understand.

I can look up the command-line 'contraption', once I get home (I actually used it in a piece of C code)



On Tue, Dec 3, 2019 at 3:20 AM Simon Brown <simon.k.brown at<mailto:simon.k.brown at>> wrote:
On Mon, 2 Dec 2019 at 20:12, alex_jeff <alexanderjefferson1993 at<mailto:alexanderjefferson1993 at>> wrote:
I need to send a stream to a webpage so that the user can see the stream
using a browser. I have already installed a webserver (apache) on my target
system (which is an embedded system running debian9), I have spent hours of
googling to find a solution, none of them were successful, I was wondering
if someone could make it clear whether this is possible or not, if its
possible, could you please give me an example for that. I think I have
already tried almost every related example I found on the net.

Best Regards,

P.S: stability and latency really matter for my application.
Hi Alex,
I've been trying to do the same thing, and have attempted to use the gstwebrtc-demos sendrecv program.  But I keep getting errors when it's trying to connect.
But in theory that's the lowest latency option.

Let me know how you get on.
gstreamer-devel mailing list
gstreamer-devel at<mailto:gstreamer-devel at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list