Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums DVD Authoring Subtitle menu in DVD studio pro 4

  • Subtitle menu in DVD studio pro 4

    Posted by Zeljko Tomic on November 30, 2010 at 3:02 pm

    Hi!
    I have 7 clips and each clip has 2 subtitle tracks, English and Italian. I wanted to create DVD where the viewer first chooses language from the first menu and then goes to the second menu with 7 clips. Is that possible id DVD studio pro 4? Or do you know some better solution for this?

    Daniel Ludwig replied 15 years, 8 months ago 3 Members · 5 Replies
  • 5 Replies
  • Daniel Ludwig

    December 1, 2010 at 3:36 am

    Hi Zeljko,
    I would do this with scripting, that wouldn´t be that complicated. Your first menu-buttons (language-select) would jump to a script where you automatically set an language ID.

    1st button would be english, 2nd italian. so you would get the button-ID out of SPRM8 and set it as a language ID to GPRM1.

    1. move SPRM8 to GPRM1
    2. div GPRM1 by 1024
    3. jump to the next menu button no.1

    you´ll need to divide GPRM1 by 1024 because otherwise you´ll get values like 1024 or 2048.

    within the next menu you should link from every button to another script.

    1. if GPRM1 = 1 then set subtitle/audio (english)
    2. if GPRM1 = 2 then set subtitle/audio (italian)
    3. jump film 1, 2, ….

    if you´ll read out SPRM8 within this menu you can do a if GPRM2=1, 2, 3… then jump film 1, 2, … as well, but you need to keep the language ID, so you need to read out SPRM8 (again) to another GPRM, for example GPRM 2.

    note: this is not the 100% correct syntax of DVD SP-scriping, but it´ll show you the way as it could be done.

    cheers

    danny

  • Zeljko Tomic

    December 1, 2010 at 12:26 pm

    Can you please give me more details about this, I’m totally new to scripting in this program.

  • Daniel Ludwig

    December 1, 2010 at 4:53 pm

    Hi again,
    you should learn the basics first!

    here´s a good website that can show it to you:
    https://www.dvdstudiopro.ch/english/index.html

    there is also a lot information within DVDSP user manual.

    I guess that will help.

    cheers

    danny

  • Michael Sacci

    December 1, 2010 at 5:13 pm

    That site has been linked to before, everything on it is for DVDSP 1.5 which was a totally different program than what we have now. There was a total rewrite of DVDSP.

  • Daniel Ludwig

    December 1, 2010 at 7:48 pm

    oh damned – you´re right,
    I thought it was for DVD SP 2 and newer as well. sorry.

    so we need to go a different way.

    here is the 1st script, that you need to link to from the language-select-menu, first button should be english, 2nd button should be italian, both buttons jump to this script.

    with this script you set a specific value for for each language

    value 1 for english, value 2 for italian.

    language-ID-script:

    1 mov GPRM0, SPRM 8
    2 div GPRM0, 1024
    3 jumbo main menu: button 1

    next one will be the track selction-script, which will set the subtitle and jump to your specific title. all your main menu-button should link to that script

    track-select-script
    1 mov GRPM1, SPRM 8
    2 div GPRM1, 1024
    3 set system stream St(1 (On) if GPRM 0=1)
    4 set system stream St(2 (On) if GPRM 0=2)
    5 jump track 1::chapter1 if (GPRM 1=1)
    6 jump track 2::chapter1 if (GPRM 1=2)
    7 jump track 3::chapter1 if (GPRM 1=3)
    ….
    x jump track x ::chapter1 if (GPRM 1=x)

    you see that you need to jump to your specific tracks. button 1-track 1, button 2-track 2 and so on…

    I hope this would help.

    cheers

    danny

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy