Difference between revisions of "Console"
(Using netcat to communcate with telnet interface.) |
m (Make use of {{See also}}) |
||
Line 1: | Line 1: | ||
+ | {{See also|Command line}} | ||
VLC has three terminal [[interface]] modules. These are ''rc'', ''telnet'' and ''ncurses''. | VLC has three terminal [[interface]] modules. These are ''rc'', ''telnet'' and ''ncurses''. | ||
− | |||
== rc interface == | == rc interface == |
Revision as of 09:21, 31 October 2016
VLC has three terminal interface modules. These are rc, telnet and ncurses.
rc interface
The rc module is a interactive command line interface. It allows you to type commands to make vlc do things. To start it, run vlc --intf rc. This is the default interface if no gui environment is available. To get started type "help" followed by enter. Starting with VLC 0.8.0 you can access this interface through a network with a telnet-client by using the --rc-host localhost:port option.
ncurses interface
The ncurses module is something like a text-mode gui, built with the well-known ncurses library. Linux users should be familiar with this kind of interface. This interface is not built by default, you need to add --enable-ncurses to the configure call. To start vlc with this interface run vlc --intf ncurses.
telnet interface
The telnet interface will allow you to use the telnet command to connect to vlc remotely from the network. It is comparable to the rc interface, but less advanced. It can be launched by running vlc like: vlc --intf telnet. Starting with the VLC 0.7.x-series, you can control VLC's VLM-module with this interface to manage multiple simultaneous streams. Notice that you should use the rc-interface if you don't need this feature.
to launch vlc with telnet interface:
$vlc -I telnet --telnet-password test
The telnet interface is essentially over a "raw tcp socket." To interact with the instance at the command line (assuming the telnet interface's address is 10.0.0.100:4212
):
$netcat 10.0.0.100 4212