Should I put the start code in front of the frame?

Yoda <[email protected]>
Newsgroups gmane.comp.multimedia.matroska.devel
Message-ID <CACDFWNaD=Yqne4sYkQs5UJ828nC95L5qkry3+2ZFnM+rYPnsZQ@mail.gmail.com>
Hi all,

I am developing a recorder to pack frames and I use simpleblocks.
should I put the start code "0x00000001" in front of the frame,
or put four bytes length of the frame ?

I see mkvtoolnix put four bytes length and VLC render it very well,
but when I use four bytes length in stead of start code,
VLC will have errors that can't decode the frames.

Thank you.

_______________________________________________
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.