Controlling a VLC streaming server through rc interface
Posted: 04 May 2009 14:24
Hi
I would like to know how can I control a VLC through rc or telnet interface when using the daemon flag (-d or --daemon).
The only thing I really need is reliable way to stop and restart the streaming server, when the vlc instance is running in the background.
I've tried something like this:
But that doesn't work...
Strangely enough when I supress the -d option, I can do telnet on the port and control VLC, but when I use the -d option, I always get a Connection Refused
I would appreciate all your suggestions.
Anything that lets me stop and start the streaming remotely will work it doesn't need to be an specific interface. But I need it to run as a daemon, in the background.
thanks
Edit: I'm using OpenSuse 10.3, installed VLC from VideoLan Repositories using version 0.9.9a Grishenko
I would like to know how can I control a VLC through rc or telnet interface when using the daemon flag (-d or --daemon).
The only thing I really need is reliable way to stop and restart the streaming server, when the vlc instance is running in the background.
I've tried something like this:
Code: Select all
cvlc -d --quiet --extraintf rc --rc-host localhost:8092 --color v4l:// :v4l-vdev=/dev/video0 --sout '#transcode{vcodec=MJPG,vb=8000,scale=1}:std{access=http,mux=ts,dst=0.0.0.0:1234/webcam.mjpeg}:sout-all
Strangely enough when I supress the -d option, I can do telnet on the port and control VLC, but when I use the -d option, I always get a Connection Refused
I would appreciate all your suggestions.
Anything that lets me stop and start the streaming remotely will work it doesn't need to be an specific interface. But I need it to run as a daemon, in the background.
thanks
Edit: I'm using OpenSuse 10.3, installed VLC from VideoLan Repositories using version 0.9.9a Grishenko