freeMXF.org

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



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

Offline
Rookie

Joined: Fri Mar 11, 2011 12:06 pm
Posts: 1

Post Posted: Fri Mar 11, 2011 12:15 pm 
Top  
Hi,

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.
Thanks.

 Profile  

Offline
Insider

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

Post Posted: Fri Mar 11, 2011 1:06 pm 
Top  
Hi,

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:
Code:
// 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();
Master->ReadMetadata();

// 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())
    {
        if((*it2)->IsTimecodeTrack())
        {
            if((*it)->IsA(MaterialPackage_UL))
            {
                // Do Material Timecode Tests Here
            }
            else
            {
                // Do Source Package Timecode Tests Here
            }
        }

        it2++;
    }

    it++;
}

 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 6 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