How to stream live TV

About encoding, codec settings, muxers and filter usage
tonyross
New Cone
New Cone
Posts: 2
Joined: 17 Apr 2008 04:08

How to stream live TV

Postby tonyross » 12 Jun 2008 23:58

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

MickJT
New Cone
New Cone
Posts: 3
Joined: 13 Jun 2008 14:00

Re: How to stream live TV

Postby MickJT » 13 Jun 2008 14:04

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.

gogander
New Cone
New Cone
Posts: 5
Joined: 22 Aug 2008 18:41

Re: How to stream live TV

Postby gogander » 22 Aug 2008 18:44

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests