freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Thu Mar 28, 2024 2:09 pm
Board index » MXF Categories » MXF Clarifications



Post new topic Reply to topic  [ 1 post ] 
Author
Search for:
Message

Offline
Site Admin

Joined: Thu Apr 15, 2004 10:28 am
Posts: 17

Post Posted: Sun Apr 18, 2004 2:58 pm 
Top  
An empty batch or array must still contain a valid 8 byte header. This header will be a big-endian 32-bit unsigned item count, which in this case will be zero, followed by a big-endian 32-bit unsigned item size.

Can the item size also be zero? - Strictly speaking no, it should be the same as the size which would be used if the batch or array were not empty. However it is considerably easier (and currently common) to set the size to zero as well. Because of this decoders should be designed to cope with a zero size if the count is zero. Encoders should correctly complete the size if possible as this reduces the possibility of incompatibility.

Can the header be omitted? - No, it is required and most decoders will fail in some way or other if an item of type "batch" or "array" contains no header

 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Jump to:  


Who is online

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