homeTVstream

homeTVstream is a collection of shell scripts and a PHP-based webpage for watching TV on your LAN computers.

It is based on VLC, it encodes and streams video using port 8080 in an MMS stream, so you can watch it with VLC, using URL

1
mmsh://yourserverip:8080/

, or any other MMS-capable player, using URL

1
mms://yourserverip:8080/

, or just by opening the TV page in your web browser.

Rate this utility!

So homeTVstream is just a webpage and some shell scripts to configure VLC to stream TV.

You’ll need:

  • Linux server with a TV tuner card (preferrably BT878-based) and a sound card, VideoLan VLC, libdvbpsi, ffmpeg libs, libmp3lame, libxvidcore, webserver with PHP support.
  • Windows-based clients with a web browser and Windows Media Player (or VLC).

License: GPL
Latest version: 1.0.0

download (mirror2) (132.7 kb, 4272 dls, today: 0)

Detailed installation instructions are included. :)

If you want to stream AVI files with subtitles, install libfreetype, get a TTF font file (I’m using arialbd.ttf in this example) and start VLC with these parameters:
[code]
vlc –color -vvv -I http –http-host 0.0.0.0:8081 \
filename.avi \
–freetype-font=”/usr/share/fonts/TrueType/arialbd.ttf” \
–subsdec-encoding=CP1250 –freetype-fontsize 20 \
–file-caching 5000 –sout-transcode-channels=2 –sout-transcode-samplerate=44100 \
–sout=’#transcode{vcodec=DIV3,acodec=mp3,vb=1500,ab=160,venc=ffmpeg,soverlay}:duplicate{dst=std{access=mmsh,mux=asf,dst=:8080}}’
[/code]

1
--http-host

enables built-in HTTP server on port 8081, so you can control VLC in your web browser.
Video bitrate can be reduced by adjusting

1
vb=1500

.

1
ab

is the audio bitrate (in kbps).