VLC Plugins Demo Page - Server Setup

back to main page

The script used to launch the streaming server:

#!/bin/sh

cd /home/dionoea/plugin-demo/vlc-trunk

/usr/bin/screen -d -m -S vlc-plugin-demo \
./vlc -vvv --color \
      -I telnet --vlm-conf ../vlm.conf \
      --rtsp-host 0.0.0.0:5554 \
      --telnet-host localhost --telnet-password XXXXXXXXXXXXX
  

The VLM configuration file (vlm.conf in the above script):

################
# rtsp streams #
################

new storewars15 vod enabled input ../streams/sw_15M.mov
new storewars8 vod enabled input ../streams/sw_8M.mov
new storewars3 vod enabled input ../streams/sw_3M.mov
new storewars8h264 vod enabled input ../streams/sw_h264.asf


################
# mmsh streams #
################

new storewarsmms8 broadcast enabled loop input ../streams/sw_8M.wmv
setup storewarsmms8 output #std{access=mmsh,mux=asfh,url=:8080/storewars8}
control storewarsmms8 play

new storewarsmms5 broadcast enabled loop input ../streams/sw_5M.wmv
setup storewarsmms5 output #std{access=mmsh,mux=asfh,url=:8080/storewars5}
control storewarsmms5 play

new storewarsh264 broadcast enabled loop input ../streams/sw_h264.ts
setup storewarsh264 output #std{access=mmsh,mux=asfh,url=:8080/storewarsh264}
control storewarsh264 play
  

For those of you wanting to compile VLC themselves, the VLC configure line for this server's VLC:

./configure --disable-gtk \
 --disable-wxwindows \
 --disable-skins2 --enable-dvb --enable-dvbpsi \
 --disable-arts --disable-mkv --disable-mozilla --disable-caca \
 --disable-esd  \
 --disable-oss  \
 --enable-gnutls --disable-lirc --enable-livedotcom \
 --disable-xvideo --disable-xosd \
 --enable-debug --enable-httpd
  

Please send your comments to dionoea (AT) videolan [dot] org.