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
QtWS25 Last Chance

[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 29 Sept 2015, 17:31 last edited by colossus47 10 Jun 2015, 18:41
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Sept 2015, 20:40 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 30 Sept 2015, 11:49
      1
      • S SGaist
        29 Sept 2015, 20:40

        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 30 Sept 2015, 11:49 last edited by
        #3

        @SGaist
        Hi and thanks,

        The documentation for availableMetaData does not make that very clear.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 30 Sept 2015, 22:03 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

          1/4

          29 Sept 2015, 17:31

          • Login

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