python - Is it possible to play FLAC files in Phonon? -
i'm trying play .flac files using pyside's phonon module (on mac if makes difference) it's not available mimetype playback. there way enable or plugin need install?
phonon not directly support audio formats uses underlying os capabilities. answer therefore depends on if there service registered mime type audio/flac
. me there , here short example script find out:
from pyside import qtcore pyside.phonon import phonon if __name__ == '__main__': app = qtcore.qcoreapplication([]) app.setapplicationname('test') mime_types = phonon.backendcapabilities.availablemimetypes() print(mime_types) app.quit()
Comments
Post a Comment