Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120959

QMediaMetaData availability without having to wait for mediaStatusChanged() signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1
    • Multimedia
    • None
    • Windows

    Description

      QMediaMetaData is only available with QMediaPlayer. The meta data info is only available when

       

      mediaStatusChanged()

       

      has the proper status. This takes time, especially when accessing media files from external hard drives (up to 800msec in worst case). 

      When using multithreading to read meta data of 50k+ media files for retrieval of media based on meta data, the signal-slot waiting time is a pain. 

      Since QMediaMetaData for instance returns the correct 

      QMediaMetaData::Date

      as opposed to QFileInfo which often fails or is altered when a media file is stored from the device it was recorded by to a hard drive (numerous times QFileDevice::FileMetadataChangeTime was older than QFileDevice::FileBirthTime) and it is very powerful being able to read meta data from numerous media files, it would be good if it could get disconnected from usage with QMediaPlayer or made available without it such that meta data could be read in a multithreading approach such that for large number of files, this can be done quickly.  

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            desa Denijel Sakic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes