stream files at startup

*nix specific usage questions
oliver-vl
New Cone
New Cone
Posts: 5
Joined: 23 Mar 2006 17:04

stream files at startup

Postby oliver-vl » 23 Aug 2006 09:58

Guys,

Need your help.
I have files which I need to stream continuously from one computer.
here is the code I used "vlc filename --loop --sout "#duplicate{dst=std{access=udp,mux,ts,url=230.1.1.1:1000}}"

this works file when I run it from the terminal.

but since these files will loop continuously 24X7, i want to put it on my startup script so that even if there is power shutdown, when the computer is turned on again, it will straight away play the files without logging-in to the computer.

i tried to put the code on my rc.local file but it did not play!!!

how can i resolve this so that the computer will stream the file at boot time even without logging-in?

thanks guys!

oliver-vl
New Cone
New Cone
Posts: 5
Joined: 23 Mar 2006 17:04

Postby oliver-vl » 23 Aug 2006 10:25

i just solved my problem...

i just put "-d" for running vlc as daemon and "&" to run it in background!!!!
like this:
vlc filename -d --loop --sout "#duplicate{dst=std{access=udp,mux,ts,url=230.1.1.1:1000}}" &


i put this on my rc.local script....and it works like magic.

thanks to the developer!!!!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 13 guests