[Matroska-users] How to append random numbers of chapters to MKV streaming

Steve Lhomme slhomme at matroska.org
Sun May 15 11:48:47 CEST 2011


Hello,

(this questions belongs in the matroska-dev mailing list)

Technically it is possible to do what you want to a certain extent
(the size at the front is not infinite). But the problem is really on
the player side. Also how is the reader supposed to know when a
chapter has been added at the front during playback ? Or is it just
for later use ?

Anyway, you can reserve some space at the front for chapters and fill
it as you write the file. The file remains Matroska compliant at all
time and can be reused elsewhere.

Steve

On Wed, May 11, 2011 at 10:30 AM, jianwen chen
<jianwen.chen.video at gmail.com> wrote:
> Dear Experts,
>
> I have a question about the matroska file format. I plan to build up a mkv
> file format based video application. I have 11 video clips (a movie) on
> hand, but in the future, I will append random numbers of video clips to the
> movie when the users are watching the movie. My question here is how to
> append Random chapters to the mkv format.  Is the chapter information at the
> header of the mkv file? If it is, it is impossible to append random chapters
> when the movie is playing?
>
> And I also want to know whether chapter is the minimum unit for the
> playback? It seems it is in the spec.
>
> 00:00:00.000                     : :Chapter 1
> 00:00:10.333                     : :Chapter 2
> 00:00:15.333                     : :Chapter 3
> 00:00:22.333                     : :Chapter 4
> 00:00:31.833                     : :Chapter 5
> 00:01:50.633                     : :Chapter 6
> 00:08:10.767                     : :Chapter 7
> 00:10:48.633                     : :Chapter 8
> 00:11:46.367                     : :Chapter 9
> 00:14:30.333                     : :Chapter 10
> 00:16:32.367                     : :Chapter 11
>
> Thanks,
> Jianwen
>
> _______________________________________________
> Matroska-users mailing list
> Matroska-users at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
> Read Matroska-Users on GMane:
> http://dir.gmane.org/gmane.comp.multimedia.matroska.user
>
>



-- 
Steve Lhomme
Matroska association Chairman



More information about the Matroska-users mailing list