homeTVstream iconhomeTVstream 1.0.0

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

This project 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 mmsh://yourserverip:8080/, or any other MMS-capable player, using URL mms://yourserverip:8080/, or just by opening the TV

Requirements:

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.

Installation:

I like to compile VLC myself, because when I try to install it with aptitude
(Debian package manager), it tries to install a bunch of unnecessary stuff,
which I won't need to stream TV, or avi files.
So here's how I do it in a spoonfed way: :-)

Put VLC source (get it from http://www.videolan.org/) into /usr/src/vlc-...
Put libdvbpsi source (http://www.videolan.org/developers/libdvbpsi.html)
into /usr/src/vlc-.../libdvbpsi.../
Put ffmpeg source (http://ffmpeg.mplayerhq.hu/download.html, but I'm using
Subversion to get the source) into /usr/src/vlc-.../extras/ffmpeg-.../
Put libxvidcore source (http://www.xvid.org/) into
/usr/src/vlc-.../extras/ffmpeg-.../xvidcore-.../
Put Lame MP3 encoder source (http://lame.sourceforge.net/) into
/usr/src/vlc-.../extras/ffmpeg-.../lame-.../

Compile and install Lame MP3 encoder
Compile and install xvid
Configure ffmpeg using these parameters:

./configure --enable-mp3lame --enable-gpl --enable-pp
--enable-shared --disable-static
--enable-xvid --disable-ffserver --disable-ffplay
--cpu=pentium4 $1 $2 $3 $4 $5 $6 $7

then compile and install it.

Configure libdvbpsi with this parameter:

./configure --enable-release

then compile and install it.

Configure VLC with these parameters:

./configure --disable-mad --disable-libmpeg2 --disable-wxwidgets
--disable-skins2 --disable-dvdnav --enable-v4l --disable-gnomevfs
--disable-libcdio --disable-libcddb --disable-cdda --disable-vcd
--disable-dts --disable-x11 --disable-xvideo --disable-glx
--disable-opengl --disable-sdl --disable-fb --disable-ncurses
--disable-visual --disable-bonjour --with-ffmpeg-mp3lame
--enable-release --enable-ffmpeg --disable-alsa
--with-ffmpeg-zlib $1 $2 $3 $4 $5 $6 $7 $8

(--disable-alsa is because I'm using the old OSS module for my SBLive)

then compile and install it.

Put homeTVstream into your webserver's www folder, edit config.inc.php.
You have to change $nst_streamURL and the TV channels list.

Edit the shell scripts in /bins if your TV tuner card is not on
/dev/video1

Give write permissions to your webserver's user (www-data) for
./recorded directory

(Optional: change logo.gif to fit your taste) :)

Open the page in a web browser (Firefox...), and watch TV.

If recording won't work, try to change www-data user's shell in
/etc/passwd from /bin/false to /bin/sh and restart www server.

last updated on:
June 15th, 2007, 17:55 GMT
price:
FREE!
developed by:
Nonoo
license type:
GPL (GNU General Public License) 
category:
ROOT \ Multimedia \ Video

FREE!

In a hurry? Add it to your Download Basket!

user rating 18

UNRATED
3.3/5
 

0/5

Add your review!

SUBMIT