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

Request to implement thumbnail realization for multimedia FFMPEG backend

XMLWordPrintable

    • All
    • 037dcb2c2 (dev), 4fbd6bcd4 (6.6), 39387b388 (tqtc/lts-6.5), 2f830a63f (dev), 8526bb5a3 (6.7), 693338387 (6.6), 8beb57d00 (tqtc/lts-6.5)

      Although there is meta data type for thumbnail, thumbnail is not easy to use. There are 2 issues right now:
      1. It is said that thumbnail haven't been implemented with the FFMPEG backend yet. So it means that thumbnail is totally not usable for Qt6.
      2. "windows" backend does not work well either. The thumbnail source 'PKEY_ThumbnailStream' seems to be not compatible with any random video. It is for 'VT_STREAM' format - not so sure what that is.

      The current situation is that requesting thumbnail returns invalid QVariant in most scenarios (at least all videos I've tested). For example:

      QMediaMetaData metaData = m_player->metaData(); //m_player is a QMediaPlayer
      QImage thumbNail = metaData.value(QMediaMetaData::ThumbnailImage).value<QImage>();
      

      metaData.value(QMediaMetaData::ThumbnailImage) turns out to be a QVariant(Invalid) for some random videos I tested, so we get nothing for thumbNail. Not sure how should thumbnail be implemented.

      In the future, I suppose a realization by FFMPEG should be the way to go since it is cross-platform.

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

            johanseg Jøger Hansegård
            luqiaochen Luqiao Chen
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: