show stream in webpage

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


Hello,

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
https://coaxion.net/blog/2014/05/http-adaptive-streaming-with-gstreamer/


See slide 9 for example gst-launch:
https://www.slideshare.net/rmcore/introduction-to-gstreamer


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

Regards,
Rand

From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] 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 lists.freedesktop.org>
Subject: Re: show stream in webpage

Hello,

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)

thanks,

Ron

On Tue, Dec 3, 2019 at 3:20 AM Simon Brown <simon.k.brown at gmail.com<mailto:simon.k.brown at gmail.com>> wrote:
On Mon, 2 Dec 2019 at 20:12, alex_jeff <alexanderjefferson1993 at gmail.com<mailto:alexanderjefferson1993 at gmail.com>> wrote:
Hi,
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,
Alex.

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.
Regards,
Simon
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191203/07371511/attachment-0001.html>


More information about the gstreamer-devel mailing list