[vlc] Strange behaviour of interfaces

Rafaël Carré funman at videolan.org
Thu Oct 4 14:06:08 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Henning Schal a écrit :
> Hello list,
> 
> recently I tried to control vlc via the rc interface.
> 
> When I start vlc like this in a shell vlc will start to play the file:
> #vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile
> 
> Then I can easily open another shell and type:
> #echo "quit" | telnet localhost 8123
> 
> This will stop vlc again.
> 
> 
> Here comes the problem:
> I want to start vlc from a script, that should not block on opening vlc, 
> but continuing with doing other stuff.
> 
> But if I start vlc  like this:
> #vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile &
> vlc does not really go to the background, since if I try to telnet to 
> vlc in the same shell where I started vlc, vlc will be stopped again.
> 
> Also trying
> #vlc -d --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile
> does not help, since vlc starts up but the rc interface does not seem to 
> start up
> 
> One more hint I got:
> If I put
> #vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile &
> into a script and execute it from a shell, then vlc starts up and I get 
> this error in the shell:
> [00000282] main interface error: no suitable interface module
> [00000001] main private error: interface "rc,none" initialization failed
> 
> with best regards

try "-I rc" instead of "--extraintf rc", that way it won't try to load a
graphical interface.

You can also use -vvv argument to have verbose log, in order to debug
what's happening.

- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBNcwYWCeGMCv8Q8RAgOwAKDOYaneNEVBphDqTwkgy3f0s0SBrwCdE4P6
6yiVmQsSnQvTt/n+V4olcKM=
=FNfd
-----END PGP SIGNATURE-----



More information about the vlc mailing list