homeTVstream
Last modified: June 12th, 2007homeTVstream 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
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).
Trackback URL
5 Comments »
Trackback responses to this post
About me
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with.
... »
Thank you for this script. i haven’t checked it yet, but i am configuring my linux server to make it work.
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. :)
Hi all,
I am trying to install this,
Is there anyone who installed successfully,
-Soumen
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 […]