|How to add XML Document Text in header matadata?
|Page 1 of 1|
|Author:||LY [ Thu Feb 16, 2012 12:52 pm ]|
|Post subject:||How to add XML Document Text in header matadata?|
Hello every one,
I'am about to write Sony XDCamHD style op1a files.
In an XDCamHD file there is a stand alone KLV packet whose value contains XML document text (NonRealTimeMeta).
If I get a buffer holding the XML text, how can I write it in header metadata?
|Author:||Matt Beard [ Mon Feb 20, 2012 10:17 am ]|
|Post subject:||Re: How to add XML Document Text in header matadata?|
You will need to add the definition of the metadata sets and items involved to the dictionary, then just set the value using SetString() on an MDObject of the appropriate type. For XDCam the XML document is at the "top-level" so this will need to be added to the partition's top-level metadata using the Partition::AddMetadata() call in the same way that the preface is normally added.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group