[SOLVED] QVideoFrame and MetaData
colossus47 last edited by colossus47
I am trying to get the MetaData out of a QVideoFrame.
The documentation is not helpful about how to do this though:
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.
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.
colossus47 last edited by
Hi and thanks,
The documentation for availableMetaData does not make that very clear.
It might be a bit short, indeed. You are welcome to improve it and submit a patch to Qt :)