Page 1 of 1

Telnet interface > pause : Unknown command

Posted: 11 Jan 2007 16:33
by axiomx11
I am trying to use the telnet interface, seen here:

http://www.videolan.org/doc/streaming-h ... /ch05.html

This is what I have tried

Code: Select all

C:\telnet 127.0.0.1 4212 Password: Welcome, Master > stop : Unknown command > pause : Unknown command >
It lets me log on, but none of the commands seem to work. Should I be sending them in a different way?

Posted: 12 Jan 2007 13:58
by andra_vlc
in your mentioned page there is an example:
control channel1 play

it's the same with stop and pause.

Posted: 12 Jan 2007 15:59
by axiomx11
hmm... More complecated than I thought. This is the series of commands I used:

Code: Select all

vlc --extraintf telnet telnet 127.0.0.1 4212 new channel1 broadcast enabled setup channel1 input earlylig2001.mpeg setup channel1 output :sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234}} control channel1 play
This is the output I see:

Code: Select all

Password: Welcome, Master > > > > >
Why doesn't it show me the commands I am typing? Is that normal?

Also, my attempts seems to have no effect of the player.

Posted: 12 Jan 2007 19:14
by andra_vlc
is it on Win?
We tried it a little in that blind mode, and as far as I remember with no good results. And we used "load filename".
But in linux it works.

Posted: 12 Jan 2007 20:56
by axiomx11
Indeed it is on Windows (XP). I can try it tonight (home) on linux, but I'm not sure that will help since we'll need it to work on a windows box in the end. Thanks for your advice.

Posted: 14 Jan 2007 15:51
by RĂ©mi Denis-Courmont
I think you need to enable "Local echo" on the Microsoft telnet.

Posted: 15 Jan 2007 14:58
by axiomx11
So I found the localecho, but it doesn't seem to have any effect.

I am wondering if I am sending the filename correctly, is it looking for a full path?

All I *really* want to do is send a pause command remotely. Is there a better way?

Code: Select all

Welcome to Microsoft Telnet Client Escape Character is 'CTRL+]' Microsoft Telnet> set localecho Local echo on Microsoft Telnet> o 127.0.0.1 4212 Password: Welcome, Master > > > > >