Controlling VLC with Telnet

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Skootles
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Jul 2007 04:19

Controlling VLC with Telnet

Postby Skootles » 27 Jun 2008 03:55

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?

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: Controlling VLC with Telnet

Postby yohann.martineau » 27 Jun 2008 11:26

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.

Skootles
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Jul 2007 04:19

Re: Controlling VLC with Telnet

Postby Skootles » 28 Jun 2008 03:53

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?

fcurmi
New Cone
New Cone
Posts: 2
Joined: 31 May 2009 17:07

Re: Controlling VLC with Telnet

Postby fcurmi » 31 May 2009 17:36

I have the same problem. Did you manage to find a way just to play it on screen?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests