Page 1 of 1

Controlling VLC with Telnet

Posted: 27 Jun 2008 03:55
by Skootles
I use VLC on my media server to play movies. The server is hooked up directly to my TV so I've just been using the Web Interface (a modified one actually) to play my movies. Now that I'm adding a remote to it, I'm programming my own app that will send Telnet commands to VLC, but the problem is that I have no idea how to operate VLC using telnet commands. I searched through documentation and the wiki and couldn't find anything, really. Before I program this app, I want to know how I can actually get a file playing on VLC by using Telnet commands.

Or is there another way I can remotely control VLC other than the http interface?

Re: Controlling VLC with Telnet

Posted: 27 Jun 2008 11:26
by yohann.martineau
rtfm

http://www.videolan.org/doc/streaming-h ... l#id313330

my advice is to use the http interface (/requests/vlm_cmd.xml?command=) with telnet-like commands. It's very useful.

Re: Controlling VLC with Telnet

Posted: 28 Jun 2008 03:53
by Skootles
I found this before.. re-reading through it now for anything I missed.

The problem I'm finding is this all seems to be about streaming the video somewhere - not what I want to do. For example, the Setup command is like this:

setup channel1 output #rtp{mux=ts,dst=192.168.0.104,sap,name="Channel 1"}

Where #rtp would be streaming it over rtp. Again, I don't want to stream it, but all the options I seem to find to replace the #rtp involve either streaming it or saving it to a file. Is there no way to just play it on screen?

Re: Controlling VLC with Telnet

Posted: 31 May 2009 17:36
by fcurmi
I have the same problem. Did you manage to find a way just to play it on screen?