freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Mon Dec 30, 2024 6:07 pm
Board index » MXF Categories » freeMXF.org Tools



Post new topic Reply to topic  [ 2 posts ] 
Author
Search for:
Message

Offline
Board User

Joined: Mon Sep 10, 2007 1:46 pm
Posts: 12

Post Posted: Thu Feb 16, 2012 12:52 pm 
Top  
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?

Thanks!

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Mon Feb 20, 2012 10:17 am 
Top  
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.

 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 10 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC