QMediaPlayer cdda



  • Hi All,

    I can't seem to find how to play an audio cd with the QMediaPlayer library, in QT 4 phonon was able to do this, but in QT 5 this was deprecated.

    Any suggestions more then welcome!

    Thanks



  • Does anybody have any ideas concerning this issue?



  • just checked "QMediaplayer":http://qt-project.org/doc/qt-5/qmediaplayer.html and doesn't saw anything saying that is deprecated, so i presume that is ok for use.



  • phonon is deprecated, it is no longer included and does not compile with qt5



  • i'm trying to find out how to play an audio cd with the QMediaPlayer library in Qt 5



  • well.. searching on package manager on linux you can find libphonon4qt5-4 nad others...

    @
    multimedia framework from KF5 - core library

    Phonon is the Qt multimedia API, which provides a task-oriented abstraction
    layer for capturing, mixing, processing, and playing audio and video content.

    This package contains the core library of the Phonon cross-platform multimedia
    framework from KDE. It is required to run applications that use Phonon.

    This package is for the version compiled for Qt 5.@

    so i think that you can get a phonon for qt5



  • ok, thanks for the pointers everyone

    libphonon4qt5 was not included in debian, so had to compile from scratch.
    also compiled the vlc backend, for this i had to compile vlc also, because the libvlc included in the repositories (unstable) crashed the application on boot (memory access failure)

    playing cd's with the phonon+vlc backend in q5 works now, but not listing the amount of tracks available, for this i had to use the libcdio.

    everything works like a charm now, thanks everyone!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.