Username:
Password:

Web - Share your videos on demand on your private network using vlc

Creation: 14/07/2009 17:59

Last Modification: 18/07/2009 17:58

VLC is a very powerfull Video on Demand server.

i will show you how to set up a VLC server and give
the right playlist to the local network computers so
they can view your videos.

This procedure could be used to share videos over internet
but you would have to use live streaming to unless you have
a very large capacity on your connection.

1- Create the vlc vod configuration:

Create a vlc.conf file with one entry for each of your videos:
(works with windows but you have to put windows style paths)


new myvid1 vod
setup myvid1 input "/path/to/myideo1.mpg"
setup myvid1 enabled
new myvid2 vod
setup myvid2 input "/path/to/myvideo2.avi"
setup myvid2 enabled


Then vlc must be started with the command:

vlc --rtsp-host 0.0.0.0:5554 --vlm-conf vlc.conf -I dummy


2: Create the vlc.m3u playlist
(here myserver must be replaced by the ip adress of the computer
on which vlc has been started earlier):


#EXTM3U
#EXTINF:0,0 - myvideo1
rtsp://myserver:5554/myvid1
#EXTINF:0,0 - myvideo2
rtsp://myserver:5554/myvid2


Just start this playlist in vlc on any computer of your network and
you will be able to watch the videos, with pause and fast forward
support.

Enjoy !!!