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

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DeftonesXP
New Cone
New Cone
Posts: 9
Joined: 01 Jun 2005 17:01
Location: Université de Sherbrooke, Québec

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

Postby DeftonesXP » 01 Jun 2005 20:47

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 !

simon
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 18 Sep 2004 20:53
Location: Sweden
Contact:

Postby simon » 01 Jun 2005 21:10

try the --extraintf option, but I think that's the same as -I

DeftonesXP
New Cone
New Cone
Posts: 9
Joined: 01 Jun 2005 17:01
Location: Université de Sherbrooke, Québec

Postby DeftonesXP » 01 Jun 2005 21:31

yeah, I already tried and it's doing the same as -I

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 02 Jun 2005 17:46

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.
Don't use PMs for support questions.

DeftonesXP
New Cone
New Cone
Posts: 9
Joined: 01 Jun 2005 17:01
Location: Université de Sherbrooke, Québec

Postby DeftonesXP » 02 Jun 2005 18:32

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 !

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 Jun 2005 19:01

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>
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests