LinHES Forums
http://forum.linhes.org/

Watch Streaming Video Using Video Module
http://forum.linhes.org/viewtopic.php?f=3&t=1559
Page 1 of 1

Author:  dogboy [ Sat May 29, 2004 7:51 pm ]
Post subject:  Watch Streaming Video Using Video Module

add a section to your httpd.conf file:

(/etc/apache/httpd.conf):

Alias /movies /myth/video/
<Directory /myth/video>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

after restarting apache (apachectl restart) you can browse your video directory:

http://ip.address.of.myth.box/movies/

big deal eh?

Well, my brother has a bigger hard drive than me with a bunch of stuff I want to watch...
I guess there are several ways to go about getting that content, but this is the way I did it:

Create a new file type in setup for the video module: "lst"

Set a unique player command for this file type:

"/usr/local/bin/mplayer -fs -zoom -quiet -vo -xv -playlist %s"

now on my box in the /myth/video/ folder I can put a text file ending in .lst

for example:

Clog.Dancing.lst

the contents of the file:

http://ip.of.other.box/movies/Clog.Dancing.1.avi
http://ip.of.other.box/movies/Clog.Dancing.2.avi

you may have to set .lst files to be visible in the video manager.
But after that you can treat them as you would any other movie file (getting movie info from imdb, etc.), except that when watching they stream from the other box.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/