Re: MKV vs MP4
Steve Lhomme <[email protected]> Fri, 19 Oct 2007 14:19:33 +0100
| Newsgroups | gmane.comp.multimedia.matroska.general |
|---|---|
| Message-ID | <[email protected]> |
Emanuele Fumagalli wrote: >> The header size is about the same for all matroska files. It should be >> around a few KB (between 4 and 8). That excludes seeking, which is >> pointless if you're just streaming, which is usually put at the end >> anyway. > > actually I would like to use it for a progressive download, so letting > the user be able to see the video while downloading and also perform > seeking. > I already do that with an mp4 container and I was wondering if using > matroska I could have some advantages like smaller header at the beginning. There are 2 ways of seeking in matroska. The Meta-Seek which just seeks among the level 1 elements, in your case the clusters (usuallya big packet of a few seconds of audio/video/subs). This one takes a very small size and it's usually included at the beggining. But it is not efficient for frame-accurate seeking. For that there are Cues which keep a reference of all video (or audio sometimes) frame timecode to locate them faster. You may add that too to your file depending on how accurate you want your seeking to be. It takes a little more space in the file, maybe a few 10 KB and can be placed at the beggining too. Steve _______________________________________________ Matroska-general mailing list [email protected] http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-general Read Matroska-General on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.general