Page 1 of 1

rc interface over tcp

Posted: 19 Dec 2006 09:54
by floit
hi!
I would like to run vlc 0.8.6 over a 'telnet like' remotly tcp-connection.
So i started up vlc from the command-line like this:

Code: Select all

vlc -I rc --rc-host "192.168.1.101:1234"
then a second cmd-shell opens with something like that:

Code: Select all

[00000297] rc interface: VLC media player - version 0.8.6 Janus - (c) 1996-2006 the VideoLAN team [00000297] rc interface: Warnung: Falls Sie das graphische Interface nicht mehr benutzen k÷nnen, ÷ffnen S ie die DOS-Eingabe, gehen in den Ordner von VLC und f³hren "vlc -I wx" aus. Remote-Control-Interface initialisiert. Geben Sie `h' f³r Hilfe ein.
I'am doing telnet like this

Code: Select all

telnet 192.168.1.101 1234
I get connected to vlc on port 1234.
But my Problem is: It is not possible to send commands until i hit enter in the 'vlc cmd shell' which opend on the host machine when i started vlc

What i'am doing wrong ?

Posted: 22 Dec 2006 18:09
by t1
I'm seeing the exact same problem when trying to connect to the tcp interface using .NET TcpClient, I'm able to connect and send commands, but they are not executed until I press enter in the console window. I've also tried different newline combos ("\n\r" "\n" "\r") but none of them seem to make a difference. What's going on? :)

I'm also seeing the following messages in the console window after pressing enter; (the added video does play)

...
[00000297] main interface error: recv failed (10053)
status change: ( new input: v:\media\videos\ford.mpg )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000299] main input error: refcount is 1, delaying again (id=299,type=-7)
[00000299] main input error: waited too long, cancelling destruction (id=299,typ
e=-7)
[00000293] main playlist: nothing to play[/quote]

Posted: 07 Jan 2007 06:18
by wtg
I'm seeing the exact problem here. Has anyone found a solution?

VLC Remote Control Interface not working properly

Posted: 29 Jan 2007 16:50
by nkarnold
Im also seeing this, anyone got a workaround or a solution ?

Posted: 06 Mar 2007 11:49
by lead
I've had the same problem as well (though i'm using a java socket and not telnet but it's the same thing).
And apparently still no solution. What's weird is that it seems to be a windows only problem: when I put my code and VLC on a mac: no problem at all ...

Posted: 06 Mar 2007 11:55
by lead
Apparently adding the option --rc-quiet on the command line might help some of us (it removes the DOS-box display...)