I'm having troubles with python bindings.
Code: Select all
import vlc
instance1=vlc.Instance()
media1=instance1.media_new(sys.argv[1])
player1=instance1.media_player_new()
player1.set_media(media1)
player1.play()
instance2=vlc.Instance()
media2=instance2.media_new(sys.argv[2])
player2=instance2.media_player_new()
player2.set_media(media2)
player2.play()
I tried with one instance and 2 media players, it doesn't work either.
As long as I use only one media player, there is no problem.
Program versions :
Code: Select all
VLC 1.0.5 (self compiled) / 1.0.2 (ubuntu)
Python 2.6.4 (ubuntu)
GCC 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
Can anyone tell me what i'm doing wrong and/or test it on an other computer / program versions and let me know if it works ?
Thanks.