How to install QAudioSink in python?
-
Hi.
I want to use this:
https://doc.qt.io/qtforpython/examples/example_multimedia__audiooutput.html
example from qt website. but there is several errors about that QtMultimedia not found (PySide6) and in the (PySide2) :
QAudioDevice, QAudioSink, QMediaDevices
are not found. -
Hi.
I want to use this:
https://doc.qt.io/qtforpython/examples/example_multimedia__audiooutput.html
example from qt website. but there is several errors about that QtMultimedia not found (PySide6) and in the (PySide2) :
QAudioDevice, QAudioSink, QMediaDevices
are not found.@Kasra-Hosseini QtMultimedia will just be introduced in Qt 6.2 (still in beta) so that example is for that version of PySide6 that is not available yet. QtMultimedia has undergone one of the biggest changes and among it was introduced QVideoSink that is not available in Qt5. So for now you should only use the PySide2 example: https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/multimedia/audiooutput.py?h=5.15.2