Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to get media file, for example mp3, tags by Qt?
Forum Updated to NodeBB v4.3 + New Features

How to get media file, for example mp3, tags by Qt?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 826 Views 1 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.
  • DrageFabeldyrD Offline
    DrageFabeldyrD Offline
    DrageFabeldyr
    wrote on last edited by DrageFabeldyr
    #1

    I'm writing a program that have function of searching and creating a list of artists from your music folder.
    Now it's made by using TagLib and works fine.
    But some guys said me that it's possible to do without using any third-party libraries by using QMultimedia.
    I haven't found any good example of this solution and few times i saw messages like this: " this is almost a waste of memory to load on a temporary QMediaPlayer every mp3 in a folder to parse it's data."
    So that's not what i need, because my music library is huge and becomes bigger day by day. It'll take few weeks to open each file.

    So is it possible to get tags from media files like mp3, wma, ogg by Qt without opening them?

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

      Hi,

      I don't think so, it is using the platform multimedia framework to play the files and thus get the associated metadata.
      If you already have a working implementation that does what you need with taglib there's currently no reason to change.

      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