Skip to content

MetaData Sample Description functions

Dimitri Podborski edited this page Sep 17, 2020 · 1 revision

These convenience functions can be used to build and inspect metadata sample descriptions.

ISONewXMLMetaDataSampleDescription

ISOErr ISONewXMLMetaDataSampleDescription(  
            MP4Track theTrack,
            MP4Handle sampleDescriptionH,
            u32 dataReferenceIndex,
            char*	content_encoding,
            char*	xml_namespace,
            char*	schema_location );

This builds a new XML metadata sample entry.

ISONewTextMetaDataSampleDescription

ISOErr ISONewTextMetaDataSampleDescription(  
            MP4Track theTrack,
            MP4Handle sampleDescriptionH,
            u32 dataReferenceIndex,
            char*	content_encoding,
            char*	mime_format );

This builds a new text metadata sample entry.