Page 1 of 1

Can't start rc interface when calling VLC from Perl

Posted: 15 Feb 2005 15:56
by kholthaus
Hello,

I'm trying to use VLC to automatically save an audio stream to a file. I've written a small wrapper in Perl that would call VLC, and stop it after some time. Since I'm planning to use this script in a cron job, I need to call the remote control interface (and the rc interface only!).

However, when calling from perl with the "-I rc" option, the skins2 starts up. No error message is produced.
I found, though, that if I call with the "--extraintf rc" option, I get the following error:
VLC media player 0.8.1 Janus
[00000234] main interface error: no suitable intf module
[00000001] main vlc error: interface "rc,none" initialization failed

Has anybody seen this before? And can maybe point me in the right direction?

Thanks!

Posted: 15 Feb 2005 19:03
by Sigmund
use --fake-tty

Posted: 16 Feb 2005 04:39
by kholthaus
use --fake-tty
Thanks, Sigmund. That essentially solved it, although on my version (running Debian testing, vlc v0.8.1, the correct option is --rc-fake-tty.

Thanks again.