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

mxflib mxfwrap mxf structure
http://freemxf.org/forum/viewtopic.php?f=2&t=33
Page 1 of 1

Author:  george [ Thu Jul 28, 2005 8:42 am ]
Post subject:  mxflib mxfwrap mxf structure

I've been playing around with mxfwrap. I'm trying to create a simple Op 1A MXF file with essence in the file. My usual command line looks like:

mxfwrap -v -f file1.mpg+file2.wav out.mxf

I notice this produces two partitions (an OpenHeader and a CompleteFooter) however my issue is that both partitions contain header and essence information.

How do I go about creating an MXF file with two partitions:- one a ClosedHeader with header metadata, essence containers and a (CBR) index and the second a CompleteFooter with no header metadata or index? Can this be done solely by tweaking the arguments to mxfwrap? I'm not adverse to changing the code in mxfwrap.cpp (if that is what is required) and if someone could please explain what needs to be changed.

Author:  Matt Beard [ Thu Jul 28, 2005 9:59 am ]
Post subject: 

This is an interesting idea - it could be worth adding as an option in the future (as if there aren't enough options already!)

If you want to hack the code you could just change the line that says:

Writer->WriteFooter(true, true);

to:

Writer->WriteFooter(false);

Author:  pongle [ Thu Nov 17, 2005 2:26 pm ]
Post subject: 

What would be the point of having a Footer Patition at all as it would contain nothing... (which is why Matt is telling george to just turn off Footer writing presumably).

Author:  Matt Beard [ Tue Dec 20, 2005 11:06 am ]
Post subject: 

You always need a footer partition (at least with generalized OPs). The "false" parameter to the WriteFooter call simply causes the footer partition pack to be written with no metadata (which is allowed)

Author:  pongle [ Tue Dec 20, 2005 11:11 am ]
Post subject: 

Yes, I recently found this out after inspecting the spec more carefully...
Apologies for my misinformation!
Tim

Author:  Matt Beard [ Wed Jan 04, 2006 6:32 pm ]
Post subject: 

No worries :D

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