Tovid Wiki
Advertisement

Single video file with multiple, specific chapters

Assuming you have an mpg file, dvd_movie.mpg, ready for attaching a menu. You have played the movie and noted the times where you want chapters.

For example, the five chapters will be at: 00:00 8 minutes, 5 seconds 27 minutes, 47 seconds 46 minutes, 58 seconds 1 hour, 4 minutes, 3 seconds

Do:

  makemenu \
  "Chapter 1" \
  "Chapter 2" \
  "Chapter 3" \
  "Chapter 4" \
  "Chapter 5" \
  -background screenshot1.jpg \
  -align east \
  -out MainMenu

This gives you a menu that has five buttons on it.

Now do:

    makexml \
    -menu MainMenu.mpg \
    dvd_movie.mpg  \
    -out movieout

Then: Change two areas in the resulting xml file:

First, you get a single button line, thus:

   <button>jump title 1;</button>

Replace that single line with one button for each chapter, thus:

   <button>jump title 1 chapter 1;</button>
   <button>jump title 1 chapter 2;</button>
   <button>jump title 1 chapter 3;</button>
   <button>jump title 1 chapter 4;</button>
   <button>jump title 1 chapter 5;</button>

Second, replace the default chapter list with your own:

  <vob file="dvd_movie.mpg" chapters="00:00:00,00:05:00,00:10:00,00:15:00,00:20:00,00:25:00,00:30:00,00:35:00,00:40:00,00:45:00,00:50:00,00:55:00,01:00:00,01:05:00,01:10:00,01:15:00" />

Change the line above to this:

  <vob file="dvd_movie.mpg" chapters="00:00:00,00:08:05,00:27:47,00:46:58,01:04:03" />

Lastly: Run makedvd in the regular way..

Advertisement