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 (132.7 kb)

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).

bhavin 2010-04-26 13:57:29

Thank you for this script. i haven’t checked it yet, but i am configuring my linux server to make it work.

 
Jay 2010-05-18 00:22:02

I am working on a new site with this, it will be a free online tv site, With a chat and a stream. I am editing this for me. Thanks bro! I’m totally customizing it. Love it. :)

 
Soumen 2010-07-01 18:44:13

Hi all,
I am trying to install this,
Is there anyone who installed successfully,
-Soumen

 
yertx 2011-04-20 03:12:53

Very interesting. There is a slightly more comprehensive instructions or a script for installation.

Like more information on how you did it.

Thanks.

 

[…] SCREENSHOTS / DOWNLOAD […]

 
Name (required)
E-mail (required - never shown publicly)
Webpage URL
Comment:
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists