Page 1 of 1

How to stream live TV

Posted: 12 Jun 2008 23:58
by tonyross
Hello,

I have been experimenting with vlc on a linux server without success so far.

We have a community tv station that wants to stream council meetings to a
public webpage. The viewer should be able to click on a link on the page
and begin watching the live video. I assume that flash format would be the
most commonly accepted format.

The tv video output would be from a switcher. We have streamed to ustream
which works ok.

I cannot figure out how to setup vlc on the linux server. I have setup commands like

vlc -vvv udp:[@:1234] --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{a
ccess=mmsh,mux=asfh,dst=:8080}'

trying all different protocols, rtsp, http, udp, mms etc but am not getting anywhere.

Does the web page link need to be a flash player? If so, how does vlc output to the flash
player? Or can the link be to vlc somehow?

Can someone help me get started on the right foot, I'm sure I'm going about this wrong.
Or direct me to some docs that could explain how to do this.

BTW, I can stream a video file that is located on the linux server using this command:

vlc -vvv DVmotion-001-0001.avi --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels
=2}:std{access=mmsh,mux=ps,dst=:8080}' --loop

Thanks in advance
Tony Ross

Re: How to stream live TV

Posted: 13 Jun 2008 14:04
by MickJT
Hi Tony,

vlc -vvv udp:[@:1234] --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{a
ccess=mmsh,mux=asfh,dst=:8080}'

The problem here is that streaming via UDP requires you to specify a TARGET ip, not a SOURCE ip. The IP you specific is where you are going to send the data. The user receiving the stream does NOT enter in an IP, as the data is already at their computer.

I know what you're thinking, and I think the same thing, it's silly :-) You can use RTSP to do what you want, which works over a LAN for me but i've had trouble getting it working over WAN even with my LAN IP in my routers DMZ. For now I use mmsh also.

Re: How to stream live TV

Posted: 22 Aug 2008 18:44
by gogander
Here you can stream live sports free:
http://www.driftingdots.com/float/myp2p.html

And this is where to stream over 300 live tv channels:
http://www.driftingdots.com/float/tvexe.html