Re: dvd with menu should auto start play first titleset when disc inserted

Gabor Forgacs <[email protected]> Thu, 10 May 2012 12:28:35 +0200
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <CAAd-cEMk3y9RbpEc820BiDSarneyt2s0bZqVBmro_bW=HRFisg@mail.gmail.com>
Thanks Claude.  I tried the below example but when I insert the disc the
player keeps reading it
but does not start the playback, not even the menu is showing up. I am
unsure why it may happen.
Any idea ?

Thanks a lot.

Regards,Gabor

<?xml version="1.0" encoding="utf-8"?>
<dvdauthor>
  <vmgm>
    <fpc>g0 = 1; jump menu entry title;</fpc>
    <menus>
      <video aspect="4:3" format="ntsc" />
      <pgc entry="title">
        <pre>if (g0 == 1) { jump titleset 1 menu entry root; }</pre>
        <vob file="D:/projects/F3/20120103/generated/1/menu/menu-000.mpg"
pause="inf" />
        <button>jump titleset 1 menu;</button>
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <menus>
      <video aspect="4:3" format="ntsc" />
      <pgc  entry="root">
        <pre>if (g0 == 1) { g0 = 0; jump title 1 chapter 1;}</pre>
        <vob file="D:/projects/F3/20120103/generated/1/menu/menu-001.mpg"
pause="inf" />
        <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>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
        <button>jump vmgm menu entry title;</button>
        <button>jump menu 1;</button>
        <button>jump menu 1;</button>
      </pgc>
    </menus>
    <titles>
      <video aspect="4:3" format="ntsc" />
      <audio format="ac3" lang="EN" />
      <pgc>
        <vob
file="D:/projects/F3/20120103/generated/001_f3_20120505_32bit_4FA7E2D19BDD0001_NTSC.mpg"
/>
        <vob
file="D:/projects/F3/20120103/generated/001_f3_20120505_32bit_4FA7E2D19BDD0002_NTSC.mpg"
/>
        <vob
file="D:/projects/F3/20120103/generated/001_f3_20120505_32bit_4FA7E2D19BDD0003_NTSC.mpg"
/>
        <vob
file="D:/projects/F3/20120103/generated/001_f3_20120505_32bit_4FA7E2D19BDD0004_NTSC.mpg"
/>
        <vob
file="D:/projects/F3/20120103/generated/001_f3_20120505_32bit_4FA7E2D19BDD0005_NTSC.mpg"
/>
      </pgc>
    </titles>
  </titleset>
</dvdauthor>


On Tue, May 8, 2012 at 5:39 PM, Claude Heiland-Allen <[email protected]>wrote:

> Hi Gabor,
>
> On 08/05/12 15:46, Gabor Forgacs wrote:
> > I tried the " jump vmgm menu entry title;" but no luck. The disc loads
> the
> > menu but does
> > not start to playback the titleset 1 title.
> >
> > Regards,Gabor
> >
> > On Mon, May 7, 2012 at 11:07 PM, Elio Blanca<
> > [email protected]>  wrote:
> >
> >>
> >>
> >> Il 07/05/2012 17:51, Gabor Forgacs ha scritto:
> >>> <fpc>  jump titleset 1 title 1;</fpc>
> >>
> >> In my discs I usually put:
> >>
> >>        <fpc>
> >>        {
> >>          [basic settings...]
> >>          jump vmgm menu entry title;
> >>        }
> >>        </fpc>
> >>
> >> and it works fine.
> >> Try this.
> >> Elio
>
>  From memory, the technique I used is to set a register in the <fpc> to
> signal "autoplay" and jump to the menu (like "{ g0 = 1; jump ... }"),
> then test the register in the menu <pre> and if it says "autoplay" then
> jump to the title (like "if (g0 == 1) { jump ... }"), and the title
> <pre> clears the register (like "g0 = 0;") so it doesn't keep
> autoplaying over and over.  Sorry for not posting a complete example,
> but I don't have one ready - some of the "jump" might need to be "call".
>
> Thanks,
>
>
> Claude
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dvdauthor-users mailing list
> Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users