Open discussion about tools and MXF in general
It is currently Fri Apr 10, 2020 7:52 am
Board index » MXF Categories » Tools

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

Board User

Joined: Mon Oct 22, 2007 1:43 pm
Posts: 9

Post Posted: Fri Sep 26, 2008 1:31 pm 
Hi again,

I've a question concerning the number of bytes used for the length in a KLV triplet.

I've been dissecting AVID OP-atom files and noticed that the length field in these files seems to be a fixed 9 bytes:


when creating a new file using mxflib, the default number of bytes seems to be 4, unless the length of the value exceeds 16777216 bytes:


Is there a way (parameter/feature/function) to change this default number of bytes to 9 bytes when creating a new MXFfile?



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

Post Posted: Fri Oct 03, 2008 9:53 am 
Probably the easiest way to make this non-standard behaviour is to modify the MakeBER() function in helper.h to always write 9-byte BER lengths. You could turn this into a user-defined feature if you want.

 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 1 guest

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
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by :: All times are UTC