[vlc] Strange behaviour of interfaces

Henning Schal henning.schal at gmx.de
Thu Oct 4 15:20:55 CEST 2007


Ok, that helped a lot.

with the option -vvv I found out, that vlc doesn`t like not to have a tty!

All together:
It works, if you put
#vlc -I rc --rc-fake-tty --rc-host 127.0.0.1:8123 absolutePathToFile
into a script that is called via
#scriptname &

best regards and thx for the quick help

Rafaël Carré wrote:
> -----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-----
> _______________________________________________
> vlc mailing list
> vlc at videolan.org
> http://mailman.videolan.org/listinfo/vlc
>
>   




More information about the vlc mailing list