Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Meta Data artwork with VLC-QT in QML



  • Hello,

    I have project to use VLC-QT to make mediaplayer but I don't know how VLC get Art Cover from mp3 without any url on it.

    I know libvlc is able to do that but can I do that in QML?

    the code can may be be like:

    import QtQuick 2.0
    import VLCQt 1.0
    
    Rectangle {
        width: 640
        height: 480
        color: "black"
    
        VlcVideoPlayer {
            id: vidwidget
            anchors.fill: parent
            url: "file:///d:/test.mp3"
        }
        Rectangle{
            VlcVideoObject{
                    artwork:vidwidget
            }
        }
    }
    

    thanks for your help


  • Lifetime Qt Champion

    Hi,

    That's a question you should ask to the authors of the project, they will have better insight on the interaction with libVLC.


Log in to reply