Streaming to a Web Server

About encoding, codec settings, muxers and filter usage
elia12978
New Cone
New Cone
Posts: 1
Joined: 02 Oct 2007 11:04

Streaming to a Web Server

Postby elia12978 » 02 Oct 2007 22:38

Is it possible to stream to a web server and then be able to watch the video at work on another computer? I'm wanting to stream a live football game and then be able to watch it at my work. The only problem is I'm behind a Proxy Server and a Firewall at work. That is why I want to send it to a web server and then be able to access it at my work by going to that website. I just figure it would probably be to much of a load for both my computer at home and the server. If this is possible could someone explain to me what I need to install on my web server or what would be the best way to do this.
Thanks

ff103
New Cone
New Cone
Posts: 9
Joined: 15 Oct 2007 21:40

Re: Streaming to a Web Server

Postby ff103 » 16 Oct 2007 00:23

Hello: I am trying to do something along the same lines with MP3's and am having a terrible time finding any clear instructions. Were you ever able to get this sorted out and if so, would you share your fix ? Thanks.

jamart3d
Blank Cone
Blank Cone
Posts: 20
Joined: 11 Sep 2006 20:42

Re: Streaming to a Web Server

Postby jamart3d » 16 Oct 2007 09:26

yes,it is possible,
on the condition you have enough open ports behind your work firewall and your home machine

this is my set-up
at work:
my work proxy is "webproxy" and the port is 2345
this is what I set in my work web browser to get to any web page.. (probably different for you)
they also allow http traffic to go thru ports 80,1080, and 8080
at home:
I have my home firewall allow 80,1080, and 8080 to be open.
I use a program called sageTV (great pvr software) to control my tv capture/tuner via a web plugin that allows
remote control via port 80.
I have vlc running with the http interface listening on port 8080, I also have made and edited .access files to prevent
intruders from accessing the vlc http server

at work:
in a web browser.. I got to my sagetv web page, "home.dns.org/sage"
get sage recording a channel to a mpeg2 file, or verify it is recording to a file..
I get the path and file name from the sage web server. (copy)
I open anther page and point to my vlc web page "home.dns.org:8080"
paste the path/file into the open>input> file name of vlc http
then set the transcoding options of vlc.. (these options work best for my old laptop and home upstream bandwidth)
:sout=#transcode{vcodec=WMV2,vb=768,scale=0.5,acodec=mp3,ab=64}:std{access=http,mux=asf,dst=:1080}

Enqueue the file, vlc http shows it starting to play/streaming via http on port 1080
then on my work/office machine I point my player to http://home.dns.org:1080
now I can see what my home machine is streaming, and quality is pretty good.

as an added benefit, I can share the stream by using vlc at work to relay the stream to other users inside the office.
viewtopic.php?f=4&t=41350#p129144

and a side note, I record HD streams via a SD capture card and found this to be a good setting for cropping out
the black bars on the bottom and the top
:sout=#transcode{vcodec=WMV2,vb=768,scale=0.5,croptop=60,cropbottom=60,acodec=mp3,ab=64}:std{access=http,mux=asf,dst=:1080}

but if I only want to stream mp3 files from my mp3 collection at home, I use edna
unfortunately I cant use vlc and edna at the same time, not enough open ports.
so before I go to the office I decide if I want music or video..

good luck,

ff103
New Cone
New Cone
Posts: 9
Joined: 15 Oct 2007 21:40

Re: Streaming to a Web Server

Postby ff103 » 16 Oct 2007 15:37

Thank for for the reply,those were very detailed and somewhat confusing instructions. I will try to clear up my situation a little better. I have 3 computers running here at home one of these is running the VLC server. Comp 2 can play the mp3 files from comp 1 using the standard instructions and the udp setup. Comp 3 is a web server located herehttp://www.wildweasel.homelinux.com , the file that is playing there now is actually loaded on the server. My question is how do I get Comp 1 to stream to Comp 3(the web server) so that anyone who goes to http://www.wildweasel.homelinux.com can here the mp3's that are playing on Comp 1. I think I need the applet code for a player to put on the web page and as yet am not able to find that either. The player that is there now is actually a flash player.Thanks for any help you can offer.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests