Some webcam streaming questions to get me started...

About encoding, codec settings, muxers and filter usage
GeoffME
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2011 13:25

Some webcam streaming questions to get me started...

Postby GeoffME » 10 Aug 2011 14:07

Hi ...

I am not sure if the following is possible but this is what I would like to do:

I want to setup a webcam on my laptop that will stream to my webpage. The connection from my laptop is via a wireless modem with a low upstream bandwidth, so to reduce the load on my upstream bandwidth when there are multiple viewers, I want viewers to connect to the feed via my webpage host server, not via the IP of my laptop (if that makes sense). I am guessing it would involve caching / buffering the feed at my webpage hosting site, which would then stream to viewers who open my webpage (latency does not matter).

Furthermore, to keep upstream data transfer from my laptop to a minimum, I would like the upstream feed from my laptop to my webpage server to only be triggered when there is at least 1 viewer connected to the feed on my webpage, and then to stop when there are no viewers.

I am not asking for a very detailed answer, just a "yay or nay" that this is possible and a quick idea of where to start.

Thanks in advance.
Geoff

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Some webcam streaming questions to get me started...

Postby Rémi Denis-Courmont » 10 Aug 2011 14:57

This would require your hosting provider to support streaming. In other words, it's most probably not possible.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

GeoffME
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2011 13:25

Re: Some webcam streaming questions to get me started...

Postby GeoffME » 11 Aug 2011 08:40

OK ... thanks very much for your quick answer. I will have to do a bit more thinking on the matter.

Geoff

EDIT: I just checked and my hosting provider does support video and audio streaming. So my question still stands if anyone wants to have a go at it.

Thanks again

Greg
Cone that earned his stripes
Cone that earned his stripes
Posts: 316
Joined: 24 Feb 2009 00:37

Re: Some webcam streaming questions to get me started...

Postby Greg » 11 Aug 2011 10:02

You will need to intsall VLC on your webserver to use these methods

Simple
http://wiki.videolan.org/Simple_Stream_VLC_to_Website

better
http://wiki.videolan.org/Stream_VLC_to_ ... _and_Flash

Or use the VLC web player

GeoffME
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2011 13:25

Re: Some webcam streaming questions to get me started...

Postby GeoffME » 11 Aug 2011 23:23

Many thanks Greg. Somewhere to start was exactly what I wanted and those links are perfect.

Thanks again


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests