Can't start rc interface when calling VLC from Perl

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kholthaus

Can't start rc interface when calling VLC from Perl

Postby kholthaus » 15 Feb 2005 15:56

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!

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 15 Feb 2005 19:03

use --fake-tty

kholthaus

Postby kholthaus » 16 Feb 2005 04:39

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests