home brew VoD server using free software

This is a short, quick-and-dirty howto that aims to show through example how to have a Video On Demand server at home.

I will, as far as I can, avoid all technical boring stuff. If you are really curious, GOOGLE it.

This allows to centralize all your mp3 and avi amongst others, to have one single storage/streaming unit, avoiding redundant mp3 copies or depending on YOUR laptop to see movies. Now mom will be able to see HouseMD using her PC.

So, what you will need:

  • A linux box, any flavor, pIII@800MHz + 512MbRAM, server oriented, as much storage as you can,  are far enough.
  • a little scripting skills (perl, python, ruby, bash, what so fucking ever)
  • install vlc
  • a VoD client (mplayer & vlc work out of the box)
  • a LAN, cabled or WiFied

I will assume you already completed the previous tasks. If you have any trouble, google it.

server side:

launch vlc as a regular user:
vlc –ttl 4 –color -I telnet –telnet-password videolan –rtsp-host 0.0.0.0:5554

client side:

You can use our favorite programming language, or netcat. Open a telnet connection to your VoD server and enter the password.

You will see something like this:

nc -t 192.168.0.13 4212

Password: ??videolan

Welcome, Master

>

In this prompt you can :

a) setup a file

<stream_name> is how the stream will be identifued in the rtsp path.

<file_name.avi> is the real name of your {avi,mp3} file in the filesystem.

new <stream_name> vod enabled
setup <stream_name> input “file:///home/user/<file_name.avi>”

b) load a setup file

use your favorite text editor and write a file containing the above information and name it vod-setup…

load /home/user/vod-setup

…to be continued

>Password: ??videola

12 thoughts on “home brew VoD server using free software”

  1. Haha Or you can buy a nice Toucan 500 for 10 000€ that will do the SAME thing huhuh !

  2. BUENA PO GALO…. OJALA QUE PARA TU PRIXIMO VIAJE TE ACUERDES DE TUS AMIGOS… JIJI…. Y POR LA CHUCHA @#@ YO NO SOY BILINGUE ASI QUE LO NECESITO EN ESPAÑOL… CUIDATE MUCHO AMIGO

  3. Hola exelente la explicacion, muy util funciona en linux, pero me gustaria saber en un cliente windows de q manera deberia ejecutar esos comandos, si alguien sabe le rogaria que me ayude.

Leave a Reply

Your email address will not be published. Required fields are marked *