Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to get coverArtImage metadata from a mp3?

How to get coverArtImage metadata from a mp3?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ronak5
    wrote on last edited by
    #1

    Hello,

    I'm not able to extract the coverArt metadata from a mp3 file.
    The QtMetaData class : https://doc.qt.io/qt-5/qmediametadata.html#details
    says it's a type of QImage.

    While the QmetaData.h says it's QString type.( QString CoverArtImage;).
    Please help how to extract and update the same in qml Image source.
    Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you take a close look at the content of qmediametatype.h, you'll see that its enclosed in an ifdef for qdoc thus it's there only for qdoc's processing.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      1
      • L Offline
        L Offline
        lhadi4585545
        wrote on last edited by
        #3

        thanks this helped

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          If you take a close look at the content of qmediametatype.h, you'll see that its enclosed in an ifdef for qdoc thus it's there only for qdoc's processing.

          R Offline
          R Offline
          Ronak5
          wrote on last edited by
          #4

          @SGaist
          Hi, thanks for info. So it is a QImage type?
          Could you also help on how to send a QImage type from C++ to Qml to display?
          Thanks.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You can use a QQuickImageProvider

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved