DVDBuilder project that switches between video files as if they were chapters

by Svilen S. 9. December 2009 21:35

If you want to create a DVD project that switches between video files as if they were 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 tag must end with '/>'

If the 1.mpg and 2.mpg are 60 seconds long and each video file should be a chapter, then the chapters 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

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

That is not a perfect match between chapters and video files, but that is how we recommend using DVDBuilder.

Tags: , ,

DVDBuilder