freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Sun Apr 05, 2020 2:27 am
Board index » MXF Categories » freeMXF.org Tools



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

Offline
Rookie

Joined: Thu Jul 28, 2005 4:00 am
Posts: 1

Post Posted: Thu Jul 28, 2005 8:42 am 
Top  
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.

 Profile  

Offline
Insider

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

Post Posted: Thu Jul 28, 2005 9:59 am 
Top  
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);

 Profile WWW  

Offline
Rookie

Joined: Thu Nov 17, 2005 2:22 pm
Posts: 3

Post Posted: Thu Nov 17, 2005 2:26 pm 
Top  
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).

 Profile  

Offline
Insider

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

Post Posted: Tue Dec 20, 2005 11:06 am 
Top  
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)

 Profile WWW  

Offline
Rookie

Joined: Thu Nov 17, 2005 2:22 pm
Posts: 3

Post Posted: Tue Dec 20, 2005 11:11 am 
Top  
Yes, I recently found this out after inspecting the spec more carefully...
Apologies for my misinformation!
Tim

 Profile  

Offline
Insider

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

Post Posted: Wed Jan 04, 2006 6:32 pm 
Top  
No worries :D

 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 2 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