[mythtv-users] MythArchive DVD creation error

Robin Gilks g8ecj at gilks.org
Sun Aug 4 06:38:51 UTC 2013


I'm trying to put 2 titles onto a DVD. a single autoplay title runs OK to
completion but dvdauthor bombs on doing 2.

The error from mythburn.log is as follows:

ERR:  Cannot jump to chapter 7 of title 1, only 6 exist
ERR:  in VTSM pgc 0, button 7
************************************************************
ERROR: Failed while running dvdauthor. Result: 1
See mythburn.log for more information.
************************************************************

I've formatted the dvdauthor.xml file created by the mythburn script to
make it readable:

<?xml version="1.0" encoding="UTF-8"?><dvdauthor
dest="/mnt/scratch/mytharchive/work/dvd"><!--dvdauthor XML file created by
MythBurn script--><!--
    DVD Variables
    g0=not used
    g1=not used
    g2=title number selected on current menu page (see g4)
    g3=1 if intro movie has played
    g4=last menu page on display
    g5=next title to autoplay (0 or > # titles means no more autoplay)
    -->
              <vmgm>
                <menus lang="en">
                  <pgc entry="title">
                  <pre>if (g3 eq 1) {if (g4 eq 1) jump menu 2;}</pre><vob
file="/usr/share/mythtv/mytharchive/intro/pal_mythlogo_intro.mpg"
pause=""/><post>{g3=1;g2=1;jump menu 2;}</post></pgc>
                  <!--Title menu used to hold intro movie-->
                  <video aspect="4:3" format="pal"/>
                  <pgc pause="inf">
                  <!--Menu Page 1--><pre>{button=g2*1024;g4=1;}</pre>
                     <vob file="/mnt/scratch/mytharchive/work/menu-1.mpg"/>
                     <post>jump cell 1;</post>
                        <button name="1">{g2=1; g5=0; jump title 1;}</button>
                        <button name="2">{g2=2; g5=0; jump title 2;}</button>
                  </pgc>
                  <pgc pause="inf">
                  <!--Autoplay hack-->
                  <pre>if (g5 eq 2) {g5 = 3; jump title 2;} if (g5 eq 1)
{g5 = 2; jump title 1;} g5 = 0; jump menu 1;</pre>
                  </pgc>
                </menus>
              </vmgm>
              <titleset><!--A Shocking Reminder-->
                <menus>
                <video aspect="16:9" format="pal" widescreen="nopanscan"/>
                <pgc pause="inf">
                <pre>{button=s7 * 1024;}</pre>
                  <vob
file="/mnt/scratch/mytharchive/work/chaptermenu-1.mpg"/>
                    <post>jump cell 1;</post>
                    <button name="1">jump title 1 chapter 1;</button>
                    <button name="2">jump title 1 chapter 2;</button>
                    <button name="3">jump title 1 chapter 3;</button>
                    <button name="4">jump title 1 chapter 4;</button>
                    <button name="5">jump title 1 chapter 5;</button>
                    <button name="6">jump title 1 chapter 6;</button>
                    <button name="7">jump title 1 chapter 7;</button>
                    <button name="8">jump title 1 chapter 8;</button>
                    <button name="titlemenu">{jump vmgm menu;}</button>
                  </pgc>
                </menus>
                <titles>
                  <video aspect="16:9" format="pal" widescreen="nopanscan"/>
                  <audio format="ac3"/>
                  <pgc>
                    <vob
chapters="00:00:00,00:16:29,00:32:58,00:49:27,01:05:56,01:22:25,01:38:54,01:55:23"
file="/mnt/scratch/mytharchive/work/1/final.vob"/>
                    <post>if (g5 eq 2) call vmgm menu 3; call vmgm menu
2;</post>
                  </pgc>
                </titles>
              </titleset>
              <titleset><!--When A City Falls-->
                <menus>
                <video aspect="16:9" format="pal" widescreen="nopanscan"/>
                <pgc pause="inf">
                <pre>{button=s7 * 1024;}</pre>
                  <vob
file="/mnt/scratch/mytharchive/work/chaptermenu-2.mpg"/>
                  <post>jump cell 1;</post>
                  <button name="1">jump title 1 chapter 1;</button>
                  <button name="2">jump title 1 chapter 2;</button>
                  <button name="3">jump title 1 chapter 3;</button>
                  <button name="4">jump title 1 chapter 4;</button>
                  <button name="5">jump title 1 chapter 5;</button>
                  <button name="6">jump title 1 chapter 6;</button>
                  <button name="7">jump title 1 chapter 7;</button>
                  <button name="8">jump title 1 chapter 8;</button>
                  <button name="titlemenu">{jump vmgm menu;}</button>
                </pgc>
                </menus>
                <titles>
                  <video aspect="16:9" format="pal" widescreen="nopanscan"/>
                  <audio format="ac3"/>
                  <pgc>
                    <vob
chapters="00:00:00,00:15:52,00:31:44,00:47:36,01:03:28,01:19:20,01:35:12,01:51:04"
file="/mnt/scratch/mytharchive/work/2/final.vob"/>
                    <post>if (g5 eq 3) call vmgm menu 3; call vmgm menu
2;</post>
                  </pgc>
                </titles>
              </titleset>
            </dvdauthor>

Any ideas?


-- 
Robin Gilks




More information about the mythtv-users mailing list