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. [SOLVED] QVideoFrame and MetaData

[SOLVED] QVideoFrame and MetaData

Scheduled Pinned Locked Moved General and Desktop
qvideoframeqvideoplayermetadataqmultimedia
4 Posts 2 Posters 1.7k Views
  • 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.
  • C Offline
    C Offline
    colossus47
    wrote on last edited by colossus47
    #1

    I am trying to get the MetaData out of a QVideoFrame.
    The documentation is not helpful about how to do this though:
    http://doc.qt.io/qt-5/qvideoframe.html#metaData
    http://doc.qt.io/qt-5/qvideoframe.html#setMetaData
    http://doc.qt.io/qt-5/qvideoframe.html#availableMetaData

    Clearly by the above documentation there is potentially MetaData stored within the video frame, and it can be accessed via some QString, however I cannot figure out what strings I should be passing. Even the function to tell you if there is MetaData available does not tell you what is possible.
    Insight into how to get the MetaData from a QVideoFrame would be greatly appreciated.

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

      Hi and welcome to devnet,

      availableMetaData will give you a map containing the key + values of the meta data if there are any associated with the frame. setMetaData and metaData are accessors for specific meta data if you already know the key to access them.

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

      C 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        availableMetaData will give you a map containing the key + values of the meta data if there are any associated with the frame. setMetaData and metaData are accessors for specific meta data if you already know the key to access them.

        C Offline
        C Offline
        colossus47
        wrote on last edited by
        #3

        @SGaist
        Hi and thanks,

        The documentation for availableMetaData does not make that very clear.

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

          It might be a bit short, indeed. You are welcome to improve it and submit a patch to Qt :)

          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
          0

          • Login

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