VideoHelp Forum




+ Reply to Thread
Results 1 to 25 of 25
  1. Hello everyone, I'm new to DVD authoring but with much research I could edit the menus, I added an audio on the DVD and created the corresponding button and added this function, but as the menu did not have extra audios now whenever I select the new audio or a menu item it automatically exits and returns to the menu title with doing this I return to the selection menu to disable the captions that are always connected by default.
    I wonder how to change the navigation menu to esecute he commands the buttons but do not leave the navigation screen returns to the screen title.

    Thanks ... and sorry for my bad English, I'm from Brazil
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    dvdremake pro or pgcedit.
    Quote Quote  
  3. I've used these tools to make authoring the DVD works fine, but
    I would like to know how to change the audio menu navigation to prevent it returns autoamticamente the title screen and being forced to return to make other adjustments such as disabling the captions are always in default on.
    I did a test and can block the functions that make the menu automatically return to the title screen but lose the navigation buttons created.
    I used PgcEdit and DvdReMake but do not fully understand the functions to enable or disable browsing without compromising the menu.
    What help I'll be grateful.
    Quote Quote  
  4. Member
    Join Date
    Oct 2006
    Location
    Canada
    Search Comp PM
    If you have more than one audio stream, than audio has to be set by R value.
    Using DvdRemake
    To stay in the same menu click on Edit Button command- select(Set instructions)--- Set your R = to stream number of your audio, than check box bellow where you can either - Link to a Program or Cell where your existing menu is and highlight certain button. That way you will stay in the same menu.
    Quote Quote  
  5. Thanks mate now I select a menu button without audio it returns to the menu title, but as I have no knowledge whatsoever about DvdReMake I did as I told you but using PgcEdit and now when I sear lary some button it automatically jumps to the next button and I would like to seal it were tition the button to exit the menu option, or I could choose which button to direct it when clicked.
    Quote Quote  
  6. You can use a command such as:
    [51 01 00 81 00 00 14 01] (SetSTN) Set Audio track = 1 ; LinkTopCell, button 5 (5120)

    This is a combination of SetSTN (that sets the audio stream #1 in my example), LinkTopCell (that restarts the current menu cell, therefore the navigation stays in the current menu), and SetHL_BTN (that pre-selects button 5 in my example). Of course, you will have to adapt the command. If, for example, you want to pre-select the button #3 to disable the subpic stream, just change the button number in my example. If you don't want to pre-select another button (and therefore just stay on the current button), remove the button setting.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  7. Thank r0lZ, but unfortunately I have not had success in my authoring, getting just a confusing navigation within the menus that do not lead to my goal which is to add an extra audio in the film and create this audio button to select from a menu. So far managed to do the editing menu of graphics with Photoshop and replacing the DVD with VobBlanker and also the issue of SUBPIC for creating the new button, and PgcEdit already created the button but still can not select the audio through this new button.
    Quote Quote  
  8. Originally Posted by rone View Post
    ... but still can not select the audio through this new button.
    Why? Can you navigate to the menu and activate the button? If so, what command did you use?
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  9. Yes, I can navigate this button created, but it's all so confusing, but it works partially ... When I put the DVD to play for the first time and try to make the selection of new audio via the new button nothing really happens, only the button lights up, then I return to the menu title to start the video but the audio is still the standard not what I added in the video, but when I return to the menus and choose the extra audio again, the movie being played back from the break point but with the new selected audio.
    I'm using the following commands, with these I can select the the button and menu remain the same to others in the legends ajutes

    51 01 00 81 00 00 10 01
    (SetSTN) Set Audio stream = 1; LinkTopCell, Button 4 (4096)
    Quote Quote  
  10. It's probably because the audio is changed with a SetSTN commend elsewhere, between the menu and the beginning of the playback of the movie. (Resuming to the movie bypasses most commands, so the problem doesn't occur.) Search for SetSTN commands in the DVD, and remove the commands that are executed after the menu. Use the trace mode to understand what's wrong. Be sure that you CAN change back to the other audio stream with the menu.

    Is it another menu button that allows you to select audio stream #0? What is its command?
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  11. Thank you for the help you have given me. It is an honor for me to get any help from such an important person.
    I still can not make this authoring is perfect, but thanks to you and program you have created many other projects I could do it perfectly. Thank you.
    I did several tests last night and I can not select the audio via the button without having to play the movie first, then return to the menu and select the new audio, and this second time the film runs the edited audio and subtitles too .
    I uploaded a file containing my DVD in a test version created by DvdReMake, Seems to have all the functions of the entire DVD, maybe you can analyze it for me and tell me where I'm doing wrong.
    test DVD: http://www.megaupload.com/?d=TK3Z45X2
    Quote Quote  
  12. Well, I can perhaps help you, but the IFO files are not enough. I need also the content of the menu buttons. Please send me also the "menubuttons.but" file that is in the PgcEdit_backup folder. With that file and the IFOs, I'll have the information I need.

    (BTW, you can also use File -> Create Zip backup, and send me the zip. That function stores everything needed to analyse a DVD in the archive.)
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  13. Hello,
    I created backups of original DVD without modifications, and also edited the DVD.

    Original DVD
    http://www.megaupload.com/?d=A3REWEFU

    Edited DVD
    http://www.megaupload.com/?d=2Y7TP8OD
    Quote Quote  
  14. OK, I've analysed the edited DVD. There are several problems.

    The commands you have used in the additional audio selection buttons are not valid. They are:
    Code:
    [51 06 00 80 00 00 00 03]  (SetSTN) Set Audio track = 0 ; LinkPGN Program 3
    [51 06 00 81 00 00 00 03]  (SetSTN) Set Audio track = 1 ; LinkPGN Program 3
    Also, the button that turns off the subtitles (button 4) has the same problem:
    Code:
    [51 06 00 00 82 00 00 03]  (SetSTN) Set Sub-picture track = 2, off ; LinkPGN Program 3
    The Set Audio track = X part of the commands are OK. The problem is with the second part of the commands: LinkPGN Program 3. LinkPGN forces the navigation to jump to a specific program in the current PGC. In this case, it should jump to program 3. But there is only one program in the PGC, so there is no target for that command. You can see the number of programs in the PGC by double-clicking the PGC in the left pane. In the PGC Editor window, look at the column "Prog. (PG)" of the cells table. You will see the program numbers for each cells (when a program is associated with a cell). In your PGC, there is only one cell, and therefore also only one program. Jumping to a program that doesn't exist doesn't make sense, and may crash the player. You should use LinkTopCell (or LinkPGCN PGC 3, that is not the same thing than LinkPGN Program 3) to stay in the current menu. So, the correct commands are:
    Code:
    [51 01 00 80 00 00 00 01]  (SetSTN) Set Audio track = 0 ; LinkTopCell
    [51 01 00 81 00 00 00 01]  (SetSTN) Set Audio track = 1 ; LinkTopCell
    [51 01 00 00 82 00 00 01]  (SetSTN) Set Sub-picture track = 2, off ; LinkTopCell
    Don't forget to do the same modification in the 3 LUs (pt, es and en).

    You have been lucky if your player has accepted the commands without problem. But that bug is not responsible of the problem of the wrong audio stream being selected when the movie is played.

    The pre-commands of the main movie are:
    Code:
    [00 A1 00 06 00 01 00 0D]   1  if ( gprm(6) == 1 ) then { Goto line 13 } 
    [00 A1 00 05 00 01 00 0E]   2  if ( gprm(5) == 1 ) then { Goto line 14 } 
    [61 00 00 0E 00 92 00 00]   3  Set gprm(14) =(mov) sprm(18:Preferred sub-picture language) 
    [00 A1 00 0E 70 74 00 07]   4  if ( gprm(14) == 28788 ("pt") ) then { Goto line 7 } 
    [00 A1 00 0E 65 73 00 09]   5  if ( gprm(14) == 25971 ("es") ) then { Goto line 9 } 
    [00 A1 00 0E 65 6E 00 0B]   6  if ( gprm(14) == 25966 ("en") ) then { Goto line 11 } 
    [51 00 00 00 80 00 00 00]   7  (SetSTN) Set Sub-picture track = 0, off 
    [00 01 00 00 00 00 00 0E]   8  Goto line 14 
    [51 00 00 00 81 00 00 00]   9  (SetSTN) Set Sub-picture track = 1, off 
    [00 01 00 00 00 00 00 0E]  10  Goto line 14 
    [51 00 00 00 82 00 00 00]  11  (SetSTN) Set Sub-picture track = 2, off 
    [00 01 00 00 00 00 00 0E]  12  Goto line 14 
    [00 B1 00 0C 00 01 00 14]  13  if ( gprm(12) != 1 ) then { Goto line 20 } 
    [00 A1 00 04 00 01 00 14]  14  if ( gprm(4) == 1 ) then { Goto line 20 } 
    [61 00 00 0C 00 90 00 00]  15  Set gprm(12) =(mov) sprm(16:Preferred audio language) 
    [00 A1 00 0C 65 73 00 13]  16  if ( gprm(12) == 25971 ("es") ) then { Goto line 19 } 
    [51 00 00 80 00 00 00 00]  17  (SetSTN) Set Audio track = 0 
    [00 01 00 00 00 00 00 14]  18  Goto line 20 
    [51 00 00 80 00 00 00 00]  19  (SetSTN) Set Audio track = 0 
    [71 00 00 06 00 01 00 00]  20  Set gprm(6) =(mov) 1 
    [71 00 00 05 00 00 00 00]  21  Set gprm(5) =(mov) 0 
    [71 00 00 04 00 00 00 00]  22  Set gprm(4) =(mov) 0 
    [71 00 00 07 00 01 00 00]  23  Set gprm(7) =(mov) 1
    Most of those commands (except commands 20 to 23), check your preferred languages (for the subtitles and the audio), and select the right streams according to your preferences. That means that each time that the main movie is called, the subtitles and audio streams are reset to the default values.
    However, the commands that select the audio stream check if your preferred audio language is "es" (Spanish), but you have removed that audio stream, so the selected stream cannot be right.

    The easiest way to get rid of the problem is simply to remove those commands. No stream will be forced any more, and you will be able to select the right streams with the language menu. So, remove lines 1 to 19 and see if that suit your needs.


    Note that the titles 2 and 3 have similar commands, but they force audio stream 0 (Portuguese) anyway. So, if you don't change the audio track with the menu, Portuguese will be the default audio for the main movie, regardless of your preferred audio language. To fix that problem, I suggest to change the pre-commands of Title 2. Title 2 is played when the DVD is inserted, before the menu, and is never played after, so it's a good place to set the default audio and subpicture streams.

    Change the pre-commands of Title 2 to this:
    Code:
    [00 A1 00 06 00 01 00 0D]   1  if ( gprm(6) == 1 ) then { Goto line 13 } 
    [00 A1 00 05 00 01 00 0E]   2  if ( gprm(5) == 1 ) then { Goto line 14 } 
    [61 00 00 0E 00 92 00 00]   3  Set gprm(14) =(mov) sprm(18:Preferred sub-picture language) 
    [00 A1 00 0E 70 74 00 07]   4  if ( gprm(14) == 28788 ("pt") ) then { Goto line 7 } 
    [00 A1 00 0E 65 73 00 09]   5  if ( gprm(14) == 25971 ("es") ) then { Goto line 9 } 
    [00 A1 00 0E 65 6E 00 0B]   6  if ( gprm(14) == 25966 ("en") ) then { Goto line 11 } 
    [51 00 00 00 80 00 00 00]   7  (SetSTN) Set Sub-picture track = 0, off 
    [00 01 00 00 00 00 00 0E]   8  Goto line 14 
    [51 00 00 00 81 00 00 00]   9  (SetSTN) Set Sub-picture track = 1, off 
    [00 01 00 00 00 00 00 0E]  10  Goto line 14 
    [51 00 00 00 82 00 00 00]  11  (SetSTN) Set Sub-picture track = 2, off 
    [00 01 00 00 00 00 00 0E]  12  Goto line 14 
    [00 B1 00 0C 00 01 00 14]  13  if ( gprm(12) != 1 ) then { Goto line 20 } 
    [00 A1 00 04 00 01 00 14]  14  if ( gprm(4) == 1 ) then { Goto line 20 } 
    [61 00 00 0C 00 90 00 00]  15  Set gprm(12) =(mov) sprm(16:Preferred audio language) 
    [00 A1 00 0C 70 74 00 13]  16  if ( gprm(12) == 28788 ("pt") ) then { Goto line 19 } 
    [51 00 00 81 00 00 00 00]  17  (SetSTN) Set Audio track = 1 
    [00 01 00 00 00 00 00 14]  18  Goto line 20 
    [51 00 00 80 00 00 00 00]  19  (SetSTN) Set Audio track = 0 
    [71 00 00 07 00 00 00 00]  20  Set gprm(7) =(mov) 0
    The changes (in red) are made to check if your preferred audio language is Portuguese, and if it's the case, it sets audio stream 0. Otherwise, it sets audio stream 1 (English).
    However, Title 2 has only one audio stream that is active: stream 0. So, if you force stream 1 (English), no audio will be played. To fix that problem, you can use the same audio stream for English and Portuguese: double-click on the Title 2 PGC, then, in the PGC Editor, click on the button labelled "none" (in black) of stream 1 in the Audio Stream section. Select the stream 0 in the little window and click "Set". Now, stream 0 (of the VOB) will be used when Title 2 is played, regardless of the stream number that has been set with SetSTN.

    Note that Title 3 is played before Title 2, but it is silent anyway and it has no subtitles, so it is better to do the modification in Title 2. But the pre-commands of Title 3 are totally useless, so you can remove them if you wish.

    Now, if you did everything correctly, the right audio stream should be automatically selected when the DVD is inserted (if you have correctly configured your player), and you can change the audio and subtitles from the menu, and then return to the main menu to play the movie from the beginning.

    If you have trouble with the modifications, write me an email, and I'll send you the modified IFOs. (You can find my email address here.)
    Good luck!
    Last edited by r0lZ; 16th Jun 2011 at 07:11.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  15. Hello, I'm very happy to help you have given me.
    But I still can not make the choice of audio and subtitles when I run the DVD for the primary time in DVD Player
    I made the changes .IFO that you told me but it is not changed.
    The first time that the DVD runs and is on the title screen with the options of chapters, and language selection, changes to the language menu in the first boot disk does not have any effect on the video, whatever you select audio in English or Portuguese, he always started the audio stream that is marked as "0" and the subtitle is also the same and do not change when the movie starts with them in the original pattern of the disc "off."
    So I stop the movie and return to the title menu and again to the language selection menu choices and do it again, changed the English audio stream "1" and a subtitle stream " 1 "and return to the film and this time the changes take effect and the film this with audio in English and Portuguese subtitles.
    Even living in Brazil I am a big fan of Al Pacino I would sometimes be able to watch the movie in your language oiriginal and with the help of the subtitles in Portuguese. So I did this with authoring but this bug is that the menu language selection only works after the movie started.
    Is there any way to create the buttons correctly? Maybe I did something wrong while creating the new button.
    Later I'll record a video showing you this error navigation menu
    If you can send me the IFO file already edited,
    I'm a little novice, and if I can explain how to apply this IFO as well.

    Tanks.
    Quote Quote  
  16. Are you sure you have REMOVED the pre-commands of the main movie (except the last 4 ones)?

    Anyway, I'll sent you the modified IFOs and the modified menu VOB. To replace them, do a backup of your IFOs and menu VOB, just in case. Then, copy the modified IFOs and VOB in your DVD folder (overwriting the original ones), and then load the DVD in PgcEdit and save it. (Saving the DVD is important to rebuild the pointers that depend of the length of the VOB files, and to regenerate the BUP files.) That should work.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  17. We can! Now I can select the audio you want to start the movie, Portuguese or English.
    But the problem was still with the legends that were not selected in the first play of the movie, and clicking a button it always went off button for the subtitles and I wanted him to stay in one place.
    So I edited the IFO you sent me that way, ah ... I had not removed all the lines as you told me, I just removed 1 ° and 19 °, damn Google Translator ... rs
    In command of the caption buttons that you sent me were so;

    (SetSTN) Set Sub-picture stream = 0, on ; LinkPGCN PGC 3

    Thus the legend in Stream 0 (Portuguese) was not selected in the first play of the film and also made ​​the jump button is clicked the button 5 (off) to turn off the subtitles, but I wish He remains in the same place when clicked.
    So I edited the commands of the subtitle selection buttons in this way;

    (SetSTN) Set Sub-picture stream = 0, on ; LinkTopCell

    Now with this command applied to all other caption buttons I can make changes when you view the movie in enabling English subtitles or Portuguese without having to return to the menu to make changes.

    I made a recording on a DVD-RW disc and runing perfectly and I could make all the selections of audio and subtitle language and start the movie with my favorite languages​​. =]

    Is there any change I made this mistake in the IFO? Even if you have the disc worked fine, the way I wanted.

    Thank you r0IZ was very important to me in this work, all your information were very helpful, I hope one day to repay his kindness and all that generosity you gave to me.
    And I would love to learn about this wonderful tool for editing your DVD.

    Thank you.
    Quote Quote  
  18. You're welcome.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  19. Dear r0lZ, even with all that support you gave me came a little doubt, but this time on the subtitles, the audio session is ok.
    Viewing by Windows media player subtitles are disabled by default and the film runs normally, but when putting the DVD-R in DVDPlayer the Portuguese legend "pt" is automatically selected, and as the standard audio is Portuguese subtitles is not necessary in this mode playing video.
    I would like to make the subtitles off by default because the selected language and Portuguese, but with the option to be enabled when running the video with the original English language.
    Quote Quote  
  20. Hum, strange. Maybe your player has a bug, as here the subtitles are never set automatically. The only way to turn them on is to use the menu (or the remote, when the movie is playing).

    Anyway, I agree that the current authoring is not perfect. Currently, when the DVD is inserted, only the audio stream is set according to your preferences. The subpic stream is selected, but always turned off.

    To select the right audio AND subtitle automatically, replace all pre-commands of Title 2 with this:
    Code:
    [61 00 00 0E 00 90 00 00]   1  Set gprm(14) =(mov) sprm(16:Preferred audio language) 
    [61 00 00 0F 00 92 00 00]   2  Set gprm(15) =(mov) sprm(18:Preferred sub-picture language) 
    [51 00 00 81 80 00 00 00]   3  (SetSTN) Set Audio track = 1 ; Set Sub-picture track = 0, off 
    [00 00 00 00 00 00 00 00]   4  NOP 
    [00 B1 00 0E 70 74 00 0B]   5  if ( gprm(14) != 28788 ("pt") ) then { Goto line 11 } 
    [51 00 00 80 80 00 00 00]   6  (SetSTN) Set Audio track = 0 ; Set Sub-picture track = 0, off 
    [00 B1 00 0F 65 6E 00 09]   7  if ( gprm(15) != 25966 ("en") ) then { Goto line 9 } 
    [51 00 00 00 C2 00 00 00]   8  (SetSTN) Set Sub-picture track = 2, on 
    [00 B1 00 0F 65 73 00 0B]   9  if ( gprm(15) != 25971 ("es") ) then { Goto line 11 } 
    [51 00 00 00 C1 00 00 00]  10  (SetSTN) Set Sub-picture track = 1, on 
    [00 00 00 00 00 00 00 00]  11  NOP 
    [00 B1 00 0E 65 6E 00 12]  12  if ( gprm(14) != 25966 ("en") ) then { Goto line 18 } 
    [51 00 00 81 80 00 00 00]  13  (SetSTN) Set Audio track = 1 ; Set Sub-picture track = 0, off 
    [00 B1 00 0F 70 74 00 10]  14  if ( gprm(15) != 28788 ("pt") ) then { Goto line 16 } 
    [51 00 00 00 C0 00 00 00]  15  (SetSTN) Set Sub-picture track = 0, on 
    [00 B1 00 0F 65 73 00 12]  16  if ( gprm(15) != 25971 ("es") ) then { Goto line 18 } 
    [51 00 00 00 C1 00 00 00]  17  (SetSTN) Set Sub-picture track = 1, on 
    [00 00 00 00 00 00 00 00]  18  NOP 
    [00 B1 00 0E 65 6E 00 15]  19  if ( gprm(14) != 25966 ("en") ) then { Goto line 21 } 
    [51 00 00 81 C1 00 00 00]  20  (SetSTN) Set Audio track = 1 ; Set Sub-picture track = 1, on 
    [00 00 00 00 00 00 00 00]  21  NOP
    Explanation:

    Lines 1 and 2 copy your preferences in GPRM 14 (audio language code) and GPRM 15 (subtitle language code). GPRMs 14 and 15 are used by the next commands to test your preferences and set the streams accordingly.

    Line 3 set by default the English audio stream and turns the subtitles off. That audio and subtitle streams will be changed by the next lines, but we need a default audio stream, so this command is necessary.

    Line 5 tests the language code and skips the commands 6 to 10 when it is not Portuguese. So, lines 6 to 10 are executed only when your preferred audio language is Portuguese. Line 6 set the audio stream 0 (pt), and select but turn OFF the subtitle 0 (pt). So, by default, the subtitle stream is ready to be activated with the remote, but is not displayed (except the forced subtitles, if there are some). Lines 7 and 8 check if the preferred subtitle language is English, and if it's the case, it turns on the subtitle stream 2 (en). Similarly, lines 9 and 10 turn on the subtitle stream 1 (es) if your preferred subtitle language is Spanish. When line 11 is reached, the Portuguese audio is selected, and the right subtitle stream, unless your preferred subtitle language is also Portuguese, or is a language that doesn't exist in the DVD.

    Lines 12 to 18 work exactly the same way, but for the English audio language. If English is your preferred audio language, the audio stream 1 is selected, and the Portuguese or Spanish subtitles are turned on only when they are your preferred subtitle language.

    Lines 19 to 21 are executed only when Spanish is your preferred audio language. Since there is no Spanish audio track, English is selected, and the Spanish subtitles are turned on.

    Finally, the title begins to play, and when it has finished playing, the root menu is called.


    There is a problem with the logic of the audio/subtitle menu. With the original DVD, the subtitles are reset when the PGC is executed. It's probably why it doesn't work well, and you end up with subtitles you don't want. Also, they are post-commands that are never executed, so you can safely remove them. I have rewritten the pre-commands so that the button corresponding to the currently selected audio language is automatically selected. It's much more simple than the original, and IMO is is better to select the audio button than the subtitle. So, here is the new content of VTSM 1, LU 1/2/3, 3:
    Code:
    [56 00 00 00 1C 00 00 00]   1  (SetHL_BTN) Set Highlighted Button =(mov) 7168 (button 7) 
    [61 00 00 0F 00 81 00 00]   2  Set gprm(15) =(mov) sprm(1:Audio track number) 
    [00 A2 00 0F 00 00 00 00]   3  if ( gprm(15) == 0 ) then { Break } 
    [56 00 00 00 20 00 00 00]   4  (SetHL_BTN) Set Highlighted Button =(mov) 8192 (button 8)
    Line 1 selects button 7 (Portuguese audio) by default. Line 2 copies the current audio track number in GPRM 15. Line 3 checks if that stream number is 0, and if it's the case, it starts the playback of the menu immediately. Otherwise, line 4 is executed, and button 8 is selected (English audio), and the playback begins.


    I suggest also to change the menu buttons commands like this:

    Button 7 (Portuguese audio): Select the Portuguese audio track, and then automatically select button 4 (No subtitles). So, when you will select Portuguese, you will just have to press the OK button of your remote a second time to turn the subtitles off.
    Code:
    [51 01 00 80 00 00 10 01]  (SetSTN) Set Audio track = 0 ; LinkTopCell, button 4 (4096)
    Button 6 (English audio): Select the English audio track and then jumps to the Portuguese subtitle button. Again, when you select English, you will just have to press the OK button a second time to turn the Portuguese subtitles on.
    Code:
    [51 01 00 81 00 00 04 01]  (SetSTN) Set Audio track = 1 ; LinkTopCell, button 1 (1024)
    Buttons 1, 2, 3 and 4 are the buttons to select the subtitles. (Button 4 turns them off). I suggest to add the "button" part of the command, to automatically select the button 5, that returns to the main menu:
    Code:
    [51 01 00 00 C0 00 14 01]  (SetSTN) Set Sub-picture track = 0, on ; LinkTopCell, button 5 (5120)
    [51 01 00 00 C1 00 14 01]  (SetSTN) Set Sub-picture track = 1, on ; LinkTopCell, button 5 (5120)
    [51 01 00 00 C2 00 14 01]  (SetSTN) Set Sub-picture track = 2, on ; LinkTopCell, button 5 (5120)
    [51 01 00 00 80 00 14 01]  (SetSTN) Set Sub-picture track = 0, off ; LinkTopCell, button 5 (5120)
    Button 5, that returns to the main menu, has not changed, and is still:
    Code:
    [20 04 00 00 00 00 00 01]  LinkPGCN PGC 1
    So, now, when you will go to the language menu, the button corresponding to the current audio will be automatically selected. To change the audio and subtitles and return to the movie, you will just have to select the other audio button, and press OK 4 times. The first time, it will select the new audio stream, the second time the corresponding subtitles, the 3rd time it will return to the main menu, and the 4th time, it will go to the movie. Fast and easy!


    Note that I have also removed many useless commands from various PGCs, but it is theoretically not necessary to delete them. They are just useless. I'll send you the final IFOs and VOBs by email...

    HINT: You can copy the commands in this post and paste them directly in PgcEdit. Be sure to select only valid commands (starting with "[").
    Last edited by r0lZ; 17th Jun 2011 at 02:43.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  21. I did as you mentioned in your post but did not get a good result, I replaced the IFO that you had recorded on DVD-RW and when I play the disc in Portuguese subtitles are on.

    What I wanted is to leave all the subtitles off on the first boot and play DVD.
    Because the defaut audio is Portuguese and is not necessary for me to caption "pt" linked in the first play.

    (note: I do not want to remove the subtitles, I want them to stay off when starting the DVD first, and then I will make changes to the alert by audio and subtitle menu)

    In the original DVD subtitles are turned off by default even the defaut audio and English, as I now have the audio in Portuguese in defaut I would like to keep this function, but dislike it when editing, now when I put the disc to play the subtitles "pt" are linked.
    Quote Quote  
  22. Finally got it, I was having a comeback with subtitles always on, but I think even I should have made ​​any changes in the IFO that you gave me that made the legend "en" always stay connected on the first play.
    But now everything is working fine, I redid some settings and I can finally get the DVD with audio in Portuguese with subtitles off, and if you want to be able to change the original language and select any subtitle language. wonderful!

    Thank you very much r0lZ

    All resolved.
    Quote Quote  
  23. If your DVD player has been correctly configured with Portuguese for the audio and for the subpic languages, then the Portuguese subtitles are OFF. That's sure. You can verify easily with the PgcEdit trace.

    If you can see them anyway, there might be two reasons:

    1. Your player has a bug. Return it to the store!

    2. Some or all subtitles of the Portuguese subtitle stream are "forced". Forced subtitles appear when a subtitle stream is selected but OFF. They are normally used only to translate the words present in the image (for example the title of the movie, or written mails that are shown at the screen). They should never be used to translate spoken words.
    You can verify if the Portuguese subtitle stream contains forced subtitles with DVDSubEdit. Load the movie, then select the "pt" stream in the upper right corner, and enable the option "Only show forced subpics". If you can still see some (or all) subtitles, then your DVD has Portuguese forced subpics. You can remove them with DVDSubEdit too: change the Start command from "Forced start" to "Normal start". Then use the menu "Edit -> Apply Last Modifications to All" to disable all forced subpics. Save. Your player should not display the forced subpics any more.
    If there are no forced subpics in the stream, then that confirms that your player doesn't work correctly, and I can't fix it!


    By the way, I did an error in the last pre-command of the language menu (in the 3 LUs). Here are the correct pre-commands:
    Code:
    [56 00 00 00 1C 00 00 00]   1  (SetHL_BTN) Set Highlighted Button =(mov) 7168 (button 7) 
    [61 00 00 0F 00 81 00 00]   2  Set gprm(15) =(mov) sprm(1:Audio track number) 
    [00 A2 00 0F 00 00 00 00]   3  if ( gprm(15) == 0 ) then { Break } 
    [56 00 00 00 18 00 00 00]   4  (SetHL_BTN) Set Highlighted Button =(mov) 6144 (button 6)
    But that bug concerns only the button that is selected by default. It doesn't concern the way the subtitles are shown.

    [EDIT] You have posted your last message when I was writing this reply. Anyway, fix the bug in the last pre-command of the 3 language menus. Then burn your DVD!
    Last edited by r0lZ; 17th Jun 2011 at 06:43.
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  
  24. Do not worry about this error, we all make mistakes sometimes, this error was not harmful to me because I use only parts of your code, for some reason they edited the IFO you sent me made ​​the captions "Portuguese" always enabled, so I had to go to the menu and off it. Then I merge your code with the code of the original DVD that has subtitles off by default, and the result was perfect.
    Now I have;
    Selectable audio and (Portuguese default) - OK
    Subtitles off (but selectable through the menu or remote control) - Ok
    DVD Funcines and navigation menu perfectly - OK

    Thankfully, the error of the subtitles had nothing to do with my DVD Player that is already very... very... old.

    I only have one more question, this process of editing the IFO files can be applied to any DVD or each disc has its own structure and need to make many changes?
    I would love to learn how to edit IFO and understand the meaning of all of the acronyms and what each one represents the structure of the DVD, I am newbie I do everything on the basis of intuition without technical knowledge.
    But from now on I will study the structures of the IFO and try to do customizations.

    Thank you very much r0lZ.

    Muito obrigado.
    Quote Quote  
  25. Unfortunately, the editing steps needed to add or remove a stream are different with every DVD, as they depend of the original authoring. Sometimes, the original authoring is so complex that I prefer to redo it completely, from scratch. Your DVD is very simple, and is perfect to learn the basis.

    Use the trace mode a lot. It is a good way to understand how the VM command works, and it informs you of many errors you could make.

    Also, have a look at DVD Replica. It's a good site to study the DVD structure and the VM commands (although there are some little errors and it is not complete). Note also that when you create or edit a VM command with PgcEdit's Command Editor, you can click on the button with the label of the command, and your web browser will show you the explanation of that command at DVD Replica.

    Good luck!
    r0lZ - PgcEdit homepage Hosted by VideoHelp (Thanks Baldrick)
    - BD3D2MK3D A tool to convert 3D BD to 3D SBS/T&B/FS MKV
    Quote Quote  



Similar Threads

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