- This script must be run as root
- Port 80 has to be available (no other web-services on the host machine)
- Prepare a file in the format: FULL_PATH_VIDEO VIDEO_DURATION STOP_TIME (pay attention to spaces between values!)
- All times must be pass in seconds
This script will launch a VLC instance every STOP_TIME playing video in the list (in series) starting from a random start time in the interval
[ 1 - VIDEO_DURATION ].
On the client-side please run a vlc instance in the format
vlc --loop http://[SEERVER_IP]:80/test
Loop option allow the client video-player to play continously the available video.