Play mp3 using Python, PyQt, and Phonon

前端 未结 3 1924
别那么骄傲
别那么骄傲 2021-02-04 17:11

I been trying all day to figure out the Qt\'s Phonon library with Python.

My long term goal is to see if I could get it to play a mms:// stream, but since I can\'t find

3条回答
  •  终归单人心
    2021-02-04 18:06

    If Phonon is not outputting audio or video, but not throwing any errors. You might just have to sudo apt-get install phonon-backend-gstreamer and also maybe sudo apt-get install libphonon-dev

    Phonon uses a backend of gstreamer or vlc silently, so when its not there, no errors but no functionality either. after running those commands I was able to hear sound from phonon on my raspberry pi

    Hopefully this will help someone in the future.

提交回复
热议问题