Telnet interface Q
Posted: 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!
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!