[streaming] Re: Controlling VLC

Stefan Seyfried seife at gmane0305.slipkontur.de
Wed Oct 1 14:35:48 CEST 2003


"Richard Ham" <rich-lists at edit-co.com> writes:
 
> Is there a reason that it has to have a genuine pty? Can we get rid of
> this requirement to assist those of us who need to control vlc from a
> script???

believe me, you need the rc interface, probably on your compilation
there is no other Interface and rc is the default :-)

| seife at mixi:~> vlc -p rc
| VideoLAN Client 0.6.2 Trevelyan
|  Remote control
|       --rc-show-pos, --no-rc-show-pos
|                                  Show stream position (default disabled)
|       --fake-tty, --no-fake-tty  Fake TTY (default disabled)
| seife at mixi:~>

so what you want to do is call "vlc -I rc --fake-tty"
this works at a quick test when i do

netcat -l -p 12345 | vlc -I rc --fake-tty

and in another terminal "netcat localhost 12345", then i can control
vlc.

I would add the "-I rc" just to make sure it works after you recompile
vlc with other interface options or install a newer version.

regards,

     Stefan
-- 
 Stefan Seyfried, seife at gmane0305.slipkontur.de
+----------------------------------------------+

"If you want to travel around the world and be invited to speak at a lot of
 different places, just write a Unix operating system." -- [Linus Torvalds]

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list