freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Sun Dec 22, 2024 3:15 am
Board index » MXF Categories » freeMXF.org Tools



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

Offline
Board User

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

Post Posted: Fri Sep 26, 2008 1:31 pm 
Top  
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:

0x88.xx.xx.xx.xx.xx.xx.xx.xx

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:

0x83.xx.xx.xx

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

 Profile  

Offline
Insider

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

Post Posted: Fri Oct 03, 2008 9:53 am 
Top  
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 10 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