Checking the existence and reading a SMPTE 12M track
Page 1 of 1

Author:  liechtjc [ Fri Mar 11, 2011 12:15 pm ]
Post subject:  Checking the existence and reading a SMPTE 12M track


Can someone tell me if there is a tool to check the existence of a SMPTE 12M TC track I can see in the material package or the source package of a MXF and if I can read it's content. I'm just looking if there are timecode discontinuities in it.

I hope my question is not too trivial... I still fighting with MXF.

Author:  Matt Beard [ Fri Mar 11, 2011 1:06 pm ]
Post subject: 


It may be worth starting out by looking at MXFDump. That will allow you to get a feel for the structure of the files.

If you are happy to program in C++, you should be able to write a simple program using MXFLib that does the following:
// Open the file as read-only
MXFFilePtr File = new MXFFile();
File->Open(Filename, true);

// Locate the master partition and read in the metadata
PartitionPtr Master = File->ReadMasterPartition();

// Parse the metadata into higher-level classes
MetadataPtr Meta = Master->ParseMetadata();

// Iterate through the packages
PackageList::iterator it = Meta->Packages.begin();
while(it != Meta->Packages.end())
    // Iterate through the tracks
    TrackList::iterator it2 = (*it)->Tracks.begin();
    while(it2 != (*it)->Tracks.end())
                // Do Material Timecode Tests Here
                // Do Source Package Timecode Tests Here



Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group