A DVDBuilder project with chapters for individual video files

If you want to create a DVD project that switches between video files as chapters, the following snippet should work in DVDBuilder:

<titleSet>
    <titles>
        <title id="1" chapters="00:00:00;  00:01:00;  00:02:00;">
            <videoObject file="1.mpg" />
            <videoObject file="2.mpg" />
            <videoObject file="3.mpg" />
        </title>
    </titles>
</titleSet>

Please note that the videoObject tags end with />

If the 1.mpg and 2.mpg are 60 seconds long, the chapters time should be defined as:

  • Chapter 1: 00:00:00 – first chapter must start at 0 time
  • Chapter 2: (length of 1.mpg) rounded up to a whole second
  • Chapter 3: (length of 1.mpg + length of 2.mpg) rounded up to a whole second, etc.

For example:

1.mpg = 60 seconds; 2.mpg = 60 seconds;

  • Chapter 1: 00:00:00
  • Chapter 2: 60 sec = 00:01:00
  • Chapter 3: 60 sec + 60 sec = 00:02:00
<title id="1" chapters="00:00:00;  00:01:00;  00:02:00;">

But if:

1.mpg = 60.4 seconds; 2.mpg = 60.7 seconds;

  • Chapter 1: 00:00:00
  • Chapter 2: 60.4 sec = 00:01:01
  • Chapter 3: 60.4 sec + 60.7 sec = 121.1 = 00:02:02
<title id="1" chapters="00:00:00;  00:01:01;  00:02:02;">

Although there is not a perfect match between chapters and video files, that is the recommended way for defining chapters when using DVDBuilder.


Blog Comments powered by Disqus.

Search