Re: EBML specification component for review - Element Data Size

Jerome Martinez <[email protected]>
Newsgroups gmane.comp.multimedia.matroska.devel
Message-ID <[email protected]>
Le 02/05/2015 18:08, Steve Lhomme a écrit :
>
>
> As said in one of the proposed text, unknown size elements MUST be 
> master/list elements. They cannot be binary blobs or numbers. I don't 
> think it's written anywhere, but it should. Although as in a lot of 
> case with these unwritten rules, they are pretty obvious.

In a specification, nothing can be "pretty obvious", all must be written.
If it is not written, let's add it.

that said, it is not so true for binary blobs: we can imagine we start 
to write a frame without knowing the size of the frame (because we have 
only its first slice at the moment of writing, low latency mode without 
being "real time") and we'll write the size of the frame only when we 
get the last slice.
FYI, this is used in MXF format ("incomplete" mode) and the unknown size 
of the blob is present in the file if the muxer crashed (most player can 
play the file despite this unknown element size, size is considered to 
be up to the end of the file). So I would not forbid unknown size 
element for binary blobs.
_______________________________________________
Matroska-devel mailing list
[email protected]
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.