freeMXF.org
http://freemxf.org/forum/

write metadata to stream file or txt file
http://freemxf.org/forum/viewtopic.php?f=2&t=166
Page 1 of 1

Author:  seeyou [ Mon Dec 08, 2008 10:05 am ]
Post subject:  write metadata to stream file or txt file

If I use MXFsplit to unwrap the MXF file there are 2 stream files generate.
Is the metadata (headerfile) written to those files?

If yes, how can I read them?

If no, is there a way to do this?

I tried this in the mxfsplit project , mxfsplit.cpp file, dumpobject function, line 471.

fprintf (pFile, "%s%s = %s\n", Prefix.c_str(), Object->Name().c_str(), Object->GetString().c_str());

It's writing everything in the file except of the header metadata.
Which I needed.

The original code is;

printf ("%s%s = %s\n", Prefix.c_str(), Object->Name().c_str(), Object->GetString().c_str());

Which is printing everything on the console including the metadata I need.
Maybe it has something to do with the dict.xml.

Please some advise.
Thanks in advance.

Author:  Matt Beard [ Mon Dec 22, 2008 10:41 pm ]
Post subject: 

The metadata is not written to a file by MXFSplit.

I would recommend that you simply run MXFDump and pipe the output into a text file.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/