I had to install python-sip4_4.7.9-1_i386.deb to actually make it work. Before 
that my whole python-qt4 installation was broken, should be so for others too.

Now, when I follow simple steps:

    from PyQt4.phonon import Phonon
    mediaObject = Phonon.createPlayer(Phonon.NotificationCategory,
        Phonon.MediaSource("local.mp3"))
    mediaObject.play()

I get the following lines on stdout:

Phonon::KdePlatformPlugin::createBackend: using backend:  "GStreamer"           
                                                     
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory                             
 
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory                             
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) "Intel 82801DB-ICH4 with AD1981B (Intel 82801DB-
ICH4)"           
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) ()                                                  
             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) "Intel 82801DB-ICH4 with AD1981B (Intel 82801DB-
ICH4 - IEC958)"  
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) ()                                                  
             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) "Creative Technology SB Live! 24-bit External (USB 
Audio)"       
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) ()                                                  
             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) "Intel 82801DB-ICH4, Intel 82801DB-ICH4 (Front 
speakers)"        
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) ("front:CARD=I82801DBICH4,DEV=0")                   
             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) setProperty(device, 
"front:CARD=I82801DBICH4,DEV=0" ) succeeded  
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice&) go to old state on device 
"front:CARD=I82801DBICH4,DEV=0"  succeeded                                      
                                       
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory                             
 

I don't get any actual sound output. It seems like Phonon is probing all 
available sound cards and failing.

And indeed qtconfig-qt4 is grayed out in the Phonon configuration section and 
says "Phonon GStreamer backend is not available".

KDE Phonon though works, is that a packaging problem? Do I need other packages 
installed?

Should I open a new bug report?

Please CC me in replies.

Christoph
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to