2005-01-26, 03:47 PM
> I need to work on a executable for killing a process given the
> process name. So when we stop transcoding we can kill the
> vlc process.
If we were to create an interface with VLC using STIN/OUT (this is one of the interfaces), in future there would be an option to FF, SKIP x mins and PAUSE etc, load new assets, quit vlc etc...
see:
http://www.videolan.org/doc/play-howto/e...#id2534803
"RC and RTCI
These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket.
Start VLC with -I rc or --extraintf rc. When you get the Remote control interface initialized, `h' for help message, press h and Enter to get help about available commands.
To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use --rc-host your_host:port. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell.
To use a UNIX socket (local socket, this does not work for Windows), use --rc-unix /path/to/socket. Commands can then be passed using this UNIX socket.
The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section)."
> process name. So when we stop transcoding we can kill the
> vlc process.
If we were to create an interface with VLC using STIN/OUT (this is one of the interfaces), in future there would be an option to FF, SKIP x mins and PAUSE etc, load new assets, quit vlc etc...
see:
http://www.videolan.org/doc/play-howto/e...#id2534803
"RC and RTCI
These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket.
Start VLC with -I rc or --extraintf rc. When you get the Remote control interface initialized, `h' for help message, press h and Enter to get help about available commands.
To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use --rc-host your_host:port. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell.
To use a UNIX socket (local socket, this does not work for Windows), use --rc-unix /path/to/socket. Commands can then be passed using this UNIX socket.
The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section)."