VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    hi there!

    in my DVD project I have now insert one subtitles to my movie...from my before experience I've seen that there was this weird error in GfD when loading a subtitle into a movie...the thing is if I load my subtitles and then make a subtitles menu where the user can make the subtitles ON and OFF and then create my DVD, show it and play the movie directly without choosing any subtitles in my subtitles menu there will still be subtitles played (the first subtitle loaded I think)

    so in my project I have now added the line "SetSTN subpicture=4" in the the Pre-Command in the Video+Audio settings. So all the subtitles are off and the user can set them ON only in the subtitlemenu where I have buttons like: "SetSTN subpicture=1:ON ; LinkPGCN TitleSet1Menu"...still when I create my DVDand try it there is no subtitles shown ever ! even if I put them ON with my button :S

    help appreciated!

    michcio
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  2. If you have a pre command for the movie (Video+Audio settings) to turn the subtitles off (set a subtitle stream which doesn't exist), then there is no possibility to turn them on in a subtitle menu.
    But... If you add a subtitle and don't use the 'Autostart' option, the subtitle is NOT shown by default (may be there are players which have a setting to show a subtitle by default).
    create my DVD, show it and play the movie directly
    What exactly are you doing? How do you start the movie (with which button command and from which menu)?
    Is there only one movie or several?
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by borax
    If you have a pre command for the movie (Video+Audio settings) to turn the subtitles off (set a subtitle stream which doesn't exist), then there is no possibility to turn them on in a subtitle menu.
    But... If you add a subtitle and don't use the 'Autostart' option, the subtitle is NOT shown by default (may be there are players which have a setting to show a subtitle by default).
    My player does that. If there are subtitles included in GfD, they will ALWAYS be displayed when I start a movie, whether I have Autostart on or off. I can turn them off, but I really would like a "default off" setting for subtitles.

    Currently I fix this using PGCedit, and add
    (SetSTN): Set Sub-picture stream = 62:not set

    Can I do this using GfD?
    Quote Quote  
  4. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by borax
    If you have a pre command for the movie (Video+Audio settings) to turn the subtitles off (set a subtitle stream which doesn't exist), then there is no possibility to turn them on in a subtitle menu.
    oh I thought there would be possible to turn them on again after I have make them OFF in the pre-command.

    Originally Posted by borax
    But... If you add a subtitle and don't use the 'Autostart' option, the subtitle is NOT shown by default (may be there are players which have a setting to show a subtitle by default).
    I don't think I had the 'Autostart' option put on ever while creating DVD's. Yeah players that show subtitle by defaul might be my problem...will try diffrent and then write again =)

    Originally Posted by borax
    What exactly are you doing? How do you start the movie (with which button command and from which menu)?
    Is there only one movie or several?
    I have a project with 3 movies...in the main menu the user can choose which one he/she wants...then after chosen a movie I have movies-menus (in all three movies) where the user can choose to play the movie : "JumpVTS_PTT TitleSetX_Title1_chapter1" (where X is the movie-number) or go to the subtitle menu where he/she can choose the subtitles with the commands I've posted before
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  5. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    ok so I have now erase the pre-OFF-subtitles-settning...and just created a DVD like I'm describing it in my last post...

    when 'showing' it in:

    media player classic: can't see any subtitles ever (even if I make them ON in my subtitle menu)

    windows media player: really weird this one...first the subtitles are ON automaticly (even if I don't choose them ON) and then if I for example choose them OFF in movie_1 go back to my main menu ... go in to movie_2 and play it without choosing the subtitles ON/OFF...they will be OFF because of chosing OFF in movie_1 (If I choose movie_1_subtitles ON...then go to movie_2 and play it the subtitles will be ON also)

    vlc: never show the subtitles like mpc

    PowerDVD: almost as windows mediplayer..i.e. the chosen subtitle in movie_1 affects the movie_2 subtitles as well (if movie_2_subtitles aren't changed in moive_2_subtitle_menu)...the difference is that the subtitles are NOT shown in the beginning!


    so I don't know what to think...have I done everything right now ... the thing that one menu affects another seems totaly wrong...how do I solve that?

    cheers

    michcio
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  6. @AlanHK
    ...Can I do this using GfD?
    Yes, probably. Where exactly do you add this command with pgcedit?
    @michcio
    ...media player classic: can't see any subtitles ever
    Strange... On my computer MPC works nearly perfect.
    ...the thing that one menu affects another
    It is not the menu which affects another, but the registers. A DVD player (and most soft players try to do it alike) does not 'store' the settings for a movie separately. It just stores in the subtitle register: Show subtitle stream X. It does so with each movie where a subtitle stream X exists.
    Usually the subtitle register is reset when you go to the main menu (that's why 'normal' DVD players do not show subtitles by default). According to the DVD spec, it is 'useless'/not allowed to change the subtitle register on the main menu (within the VMGM domain) therefore. But there should be a workaround: Use your own registers (GPRMXX) to set the subtitles accordingly. This approach may be cumbersome, but ATM it is my only idea.
    I will create a sample project with 2 NTSC movies and 2 subtitle streams for each movie which should have this 'behavior':
    MainMenu: Two buttons which link to the titlesetmenus for each movie
    Titlesetmenu: 1 Button to start chapter 1, other button to go to the subtitle menu + back button (->main menu and set all subtitles off)
    Subtitlemenu: No Subtitles, Subtitle1, Subtitle2, back to Titlesetmenu

    Is this your intended functionality?
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by borax
    @AlanHK
    ...Can I do this using GfD?
    Yes, probably. Where exactly do you add this command with pgcedit?
    When I open each VTST, I see one "pre command":
    Set gprm(1) = mov(0)
    (Numerically: 71 00 00 01 00 00 00 00)

    I insert the new command after that:
    (SetSTN) Set Sub-picture stream = 62:not set
    (Numerically: 51 00 00 00 BE 00 00 00)

    It's not hard to do, though bit tedious when I have 10 features to deactivate, but sometimes I forget and then I have to click the subs off every time I play it.
    Quote Quote  
  8. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by borax
    Strange... On my computer MPC works nearly perfect.
    yeah I know MPC has worked perfectly for me before as well..


    Originally Posted by borax
    It is not the menu which affects another, but the registers. A DVD player (and most soft players try to do it alike) does not 'store' the settings for a movie separately. It just stores in the subtitle register: Show subtitle stream X. It does so with each movie where a subtitle stream X exists.
    Usually the subtitle register is reset when you go to the main menu (that's why 'normal' DVD players do not show subtitles by default). According to the DVD spec, it is 'useless'/not allowed to change the subtitle register on the main menu (within the VMGM domain) therefore. But there should be a workaround: Use your own registers (GPRMXX) to set the subtitles accordingly. This approach may be cumbersome, but ATM it is my only idea.
    oh so I can't change a separate movies subtitle without changeing the rest as well? That's weird so what you are saying is that it would be enough to just have one menu in the beginning to choose the subtitles and then nothing?


    Originally Posted by borax
    I will create a sample project with 2 NTSC movies and 2 subtitle streams for each movie which should have this 'behavior':
    MainMenu: Two buttons which link to the titlesetmenus for each movie
    Titlesetmenu: 1 Button to start chapter 1, other button to go to the subtitle menu + back button (->main menu and set all subtitles off)
    Subtitlemenu: No Subtitles, Subtitle1, Subtitle2, back to Titlesetmenu

    Is this your intended functionality?
    yes that's almost exactly what I'm doing ... thoug I have only 1 subtitle stream everything else is good!

    thanks!

    michcio
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  9. Ok, then only one subtitle stream. But... is it really necessary to have an own subtitle menu for just one subtitle stream?
    Quote Quote  
  10. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by borax
    Ok, then only one subtitle stream. But... is it really necessary to have an own subtitle menu for just one subtitle stream?
    I never bother -- remote controls all have a "Subtitle" button. Just one click instead of several navigating an onscreen menu.
    Quote Quote  
  11. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by borax
    Ok, then only one subtitle stream. But... is it really necessary to have an own subtitle menu for just one subtitle stream?
    well maybe it isn't but I usually have 3 subtitles and not just one this is just an unusuall case and still I wanna learn how to create the subtitle menus correctly...

    Originally Posted by AlanHK
    I never bother -- remote controls all have a "Subtitle" button. Just one click instead of several navigating an onscreen menu.
    yeah ... but still looks a lot hightech with a menu

    cheers!

    EDIT: Btw I have now get it working to open up my DVD project in media player classic...now I see both my buttons AND the subtitles there was some rendering options I had wrong in the program...after changing them to right once (the one media player classic returned in an error when I tried to just open an .avi and then subtitles) everything was perfect!
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  12. Maybe the following approach works...
    For the MainMenu use this as pre command:
    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    Mov GPRM5, 1
    For each titleset menu use this pre command:
    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    if ( GPRM5 == 0 ) GoTo Tag1
    SetSTN subpicture=1:OFF
    Mov GPRM5, 0
    Tag1: NOP
    ... so each time you go to the main menu, GPRM5 is set to 1. If the titleset menu is loaded from the main menu, GPRM5 is still 1, in this case turn off the subtitles (SetSTN subpicture=1:OFF) and reset GPRM5 to 0.
    If the titleset menu is loaded from the movie or subtitlemenu or... GPRM5 is still 0 and no change to the currently selected subtitle stream (or on/off) is made.
    Quote Quote  
  13. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by borax
    Maybe the following approach works...
    For the MainMenu use this as pre command:
    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    Mov GPRM5, 1
    For each titleset menu use this pre command:
    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    if ( GPRM5 == 0 ) GoTo Tag1
    SetSTN subpicture=1:OFF
    Mov GPRM5, 0
    Tag1: NOP
    thanks for your help!!

    michcio

    ... so each time you go to the main menu, GPRM5 is set to 1. If the titleset menu is loaded from the main menu, GPRM5 is still 1, in this case turn off the subtitles (SetSTN subpicture=1:OFF) and reset GPRM5 to 0.
    If the titleset menu is loaded from the movie or subtitlemenu or... GPRM5 is still 0 and no change to the currently selected subtitle stream (or on/off) is made.

    yees!! It works perfectly with your pre-commands ...I understand almost everything to..just why do you ad the first lines in both pre-commands : SetHL_BTNN HL_BTNN=1 ?? And then what does NOP do? And this is just adjusted to one subtitle stream...say if I had 3 of them...would this work fine:

    on the titelset menus:

    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    if ( GPRM5 == 0 ) GoTo Tag1
    SetSTN subpicture=1:OFF
    SetSTN subpicture=2:OFF
    SetSTN subpicture=3:OFF
    Mov GPRM5, 0
    Tag1: NOP
    Code:
    SetHL_BTNN HL_BTNN=1
    Mov GPRM0, 1
    if ( GPRM5 == 0 ) GoTo Tag1
    SetSTN subpicture=4
    Mov GPRM5, 0
    Tag1: NOP
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  14. ...SetHL_BTNN HL_BTNN=1
    Set the highlight to the first visible button
    This command is on each menu (if you open the Pre/Post command editor and click on 'Calc standard', you will always find this command)
    ...Mov GPRM0, 1 This command is also 'standard'. GPRM0 is used internally (for Play all and other such functions)
    ...Nop is only there to have any command at Tag1

    You can use the same code also for 2 or 3 subtitle streams. There is no need to turn off each subtitle stream.
    Quote Quote  
  15. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by borax
    ...SetHL_BTNN HL_BTNN=1
    Set the highlight to the first visible button
    This command is on each menu (if you open the Pre/Post command editor and click on 'Calc standard', you will always find this command)
    ...Mov GPRM0, 1 This command is also 'standard'. GPRM0 is used internally (for Play all and other such functions)
    ...Nop is only there to have any command at Tag1

    You can use the same code also for 2 or 3 subtitle streams. There is no need to turn off each subtitle stream.
    ok great now I understand everything thanks for all your help borax
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!