Telnet interface Q

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Jinja
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Jul 2005 18:23

Telnet interface Q

Postby Jinja » 08 Jul 2005 18:34

Hi,

I started vlc playing with a TElnet interface using the command line:

Shell("c:\progra~1\videolan\vlc\vlc --intf telnet --telnet-port 1111 --fullscreen --spdif dvdsimple:c:\24")

I then logged into the telnet interface using Windows hyperterminal.

I type 'help' for a list of commands I can execute:

help

Commands Syntax:
new (name) vod|broadcast|schedule [properties]
setup (name) (properties)
show [(name)|media|schedule]
del (name)|all|media|schedule
control (name) [instance_name] (command)
save (config_file)
load (config_file)
Media Proprieties Syntax:
input (input_name)
inputdel (input_name)|all
inputdeln input_number
output (output_name)
option (option_name)[=value]
enabled|disabled
loop|unloop (broadcast only)
mux (mux_name)
Schedule Proprieties Syntax:
enabled|disabled
append (command_until_rest_of_the_line)
date (year)/(month)/(day)-(hour):(minutes):(seconds)|now
period (years_aka_12_months)/(months_aka_30_days)/(days)-(hours):(minutes):(seconds)
repeat (number_of_repetitions)
Control Commands Syntax:
play
pause
stop
seek (percentage


I was guessing that running the commands 'play' 'pause' etc would control the movie I initiated at the command line, but I am receiving 'Unknown command' back from telnet server.

What am I doing wrong?

I'd also love to start playing a new file using the interface.

I am new to VideoLAN since a week ago, and have read as much as possible, but no luck.

If I've missed any documentation relating to telnet, could someone point me in the right direction?

Or even better, are there any examples that I could look at?

Many thanks!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 09 Jul 2005 11:13

http://www.videolan.org/doc/streaming-h ... /ch05.html will be helpfull i think. Beware that the telnet interface is used to control the vlm vlc component. If you just want to use the same basic features as the "normal" interface, use the rc interface.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Jinja
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Jul 2005 18:23

thx

Postby Jinja » 09 Jul 2005 14:19

Many thanks, that link helps. Yes I'm interested in the vod aspects of vlm, so am looking at using telnet.

Regarding the rc interface, how do I connect to this in an XP/windows environment?


Also, this might be another stupid question, but: I'm looking to control the server side VLC instance from remote computers as simply as possible.
Would a connectionliess UDP-based approach not have been a good approach, with clients sending formatted strings to a UDP listen-server?

I know VLC is an open-source project so I'm not asking you to do it RIGHT NOW ;-), I'm just interested in the design approach.

Cheers.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests