Page 1 of 1

How to start vlc as a daemon, but with rc interface ?

Posted: 01 Jun 2005 20:47
by DeftonesXP
Hi,

I want to start vlc as a background process and control it remotely.
I looked around (in the forums) and you guys are refering to the --daemon option.

I already tried the --fake-tty option with the background operator (&). This worked, but I have another app. using multicast/unicast and it wasn't working anymore. Since I need both of them running at the same time, tried the daemon option.

I am currently using this command. RC is working here :
vlc -I rc --rc-host ip:port

but if I try this :
vlc -I rc --rc-host 142.133.92.20:7070 --daemon

It's actually starting as a daemon but there is no rc intf started.

Would someone know the exact command to start vlc in RC mode as a daemon ?

Thanks !

Posted: 01 Jun 2005 21:10
by simon
try the --extraintf option, but I think that's the same as -I

Posted: 01 Jun 2005 21:31
by DeftonesXP
yeah, I already tried and it's doing the same as -I

Posted: 02 Jun 2005 17:46
by The DJ
in deamon mode STDOUT and STDIN from the rc interface are closed. Is this windows or linux? in case of linux i would advise you to use the program screen and launch vlc from there.

Posted: 02 Jun 2005 18:32
by DeftonesXP
It's for linux.
I don't understand what you mean by "use the program screen"...

Just to let you know, I am trying to automate recording of multicasted streams, so I am only using the console. I want to use the daemon and rc options so vlc would be started "as a sevice" and accept remote commands...

Thanks DJ !

Posted: 02 Jun 2005 19:01
by dionoea
install a program called "screen"
then have a look at "man screen"

basically, what you might want to do is :
screen -d -m -S myVLCscreen vlc <options>