Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
9th February 2003, 10:01 | #1 | Link |
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
Turning Subtitles (On/Off) by Default Guide
Turning Subtitles On by Default
A friend of mine wanted to learn about displaying subtitles by default when DVD is inserted. I initially didn’t know about going about it so we did a search and read a lot of threads and a DVD authoring book. From multiple sources, I decided to post this working method so that people who want to turn on or off their subtitles by default, can hopefully have a easier time understanding. 11/10/2004: New and improved HTML guides using PgcEdit. 2/9/2003 NOTE:This guide has been updated in consideration of stripped subpictures. Thanks to jmartina for pointing this out. And also, there is a change in hex value in “Turning Subtitles Off by Default” guide. (previous value was 9f). Thanks to mpucoder for his recommendation. 2/27/2003 Update: You must also set your default subtitle language on your standalone DVD Player. Tools used: IfoEdit Note: Assumption is made in this guide that VTS_01_0.IFO is your main movie’s IFO. ______________________________________________________ 1. In VTS_01_0.IFO/VMG Overview/ Title Set (Movie) attributes section, we need to find out which Subtitle we want turned on. Select the following options that describes your subpictures status.
______________________________________________________ 2. Since you didn’t strip any subpictures out, all we need to know is the byte value (highlighted to the left in blue) associated with your selected SubPicture. Write your value down that’s associated with language you want to display.
______________________________________________________ 3. Go to step 5. ______________________________________________________ 4. If you had stripped any subpictures, all your remaining subpictures will have shifted up in order but their Ids will be kept. Disregarding your ID : 0x## , use Step 2’s values . Write your value down that’s associated with language you want to display. So, if your Subpicture 32 became Subpicture 3, then your Subpicture’s new value would be C2. ______________________________________________________ 5. Go to /VTS_PGCITI/VTS_PGC_1/PGC Command Table, and select the following option below which describes your pre commands. If you have...
______________________________________________________ 6. No "Break" commands We need to add another pre-command so right click on any pre-command line and select “Add PreCommand”. You will get a new pre command at the end containing “NOP”. ______________________________________________________ 7. Double left click on this new pre command line and you will be presented with your HexEdit Module window. In our example, substitute “XX” with the hex value you wrote down in step 2 or 4. Edit the hex value as follows. OLD > Pre Command...NOP......................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: #(Off)...[51 00 00 00 XX 00 00 00] ______________________________________________________ 8. Now go to step 16. ______________________________________________________ 9. Break commands present Your DVD might have one Break command but some have more. For ease of selecting the right one to work with, we’ll just do them all. So right click on your first break command line and select “Insert PreCommand” on your pop-up menu. You will get a new pre command before your Break containing a “NOP”. ______________________________________________________ 10. Double left click on this new pre command line and you will be presented with your HexEdit Module window. In our example, substitute “XX” with the hex value you wrote down in step 2 or 4. Edit the hex value as follows. OLD > Pre Command...NOP......................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: #(Off)...[51 00 00 00 XX 00 00 00] ______________________________________________________ 11. You may have commands before your new inserted commands that contained “Goto” statements. Pre-Commands have shifted down, 1 line after your SetSTN command, so those prior Goto commands need to be fixed. Just edit them to next hexadecimal number. Just edit the ones from your last break line or if you have just one, from pre-command #1. ______________________________________________________ 12. Repeat steps 9 to 11 for all pre commands that have that “Break” in them. ______________________________________________________ 13. Now go to step 16 ______________________________________________________ 14. No Pre Commands There will be a line near the bottom saying “There is no PGC Command Table.” Right-click on text and select “Add PreCommand”. ______________________________________________________ 15. You will have a new pre command containing a “NOP” command Double left click on this new pre command line and you will be presented with your HexEdit Module window. In our example, substitute “XX” with the hex value you wrote down in step 2 or 4. Edit the hex value as follows. OLD > Pre Command...NOP......................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: #(Off)...[51 00 00 00 XX 00 00 00] ______________________________________________________ 16. OPTIONAL: If you want your subtitle permanently ON and your subpictures button on our remote disabled, just go to your /VTS_PGCITI/VTS_PGC_1/Prohibited user operations and double click in section. Check “Subpicture Stream Change” and press OK ______________________________________________________ 17. Save VTS_01_0.IFO ______________________________________________________ 18. Get VTS Sectors ______________________________________________________ 19. Press DVDPlay to preview and test. ______________________________________________________ Turning Subtitles OFF by Default Note: Assumption is made in this guide that VTS_01_0.IFO is your main movie’s IFO. ______________________________________________________ 1. Go to /VTS_PGCITI/VTS_PGC_1/PGC Command Table, and select the following option below which describes your pre commands.
Note: Using the preferred value of 0xbe will disable the subpictures completely. This is interpretted as Stream 62 off as there can never be a stream 62. It will be confusing to know that (SetSTN) Set Subpicture Stream: 30(On) should really say “Off” in the following steps. This is an error that Derrow, IFOedit’s author, needs to fix. ______________________________________________________ 2. NO break commands We need to add another pre-command so right click on any pre-command line and select “Add PreCommand”. You will get a new pre command at the end containing a command “NOP” ______________________________________________________ 3. Double left click on this new pre command line and you will be presented with your HexEdit Module window. Edit the hex value as follows. OLD > Pre Command...NOP............................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: 30(On).........[51 00 00 00 be 00 00 00] ______________________________________________________ 4. Now go to step 12. ______________________________________________________ 5.Break commands present Your DVD might have one Break command but some have more. For ease of selecting the right one to work with, we’ll just do them all. So right click on your first break command line and select “Insert PreCommand” on your pop-up menu. You will get a new pre command before your Break containing a command “NOP” ______________________________________________________ 6. Double left click on this new pre command line and you will be presented with your HexEdit Module window. Edit the hex value as follows. OLD > Pre Command...NOP............................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: 30(On).........[51 00 00 00 be 00 00 00] ______________________________________________________ 7. You may have commands before your new inserted commands that contained “Goto” statements. Commands shifted down 1 line after your SetSTN command so those prior Goto commands need to be fixed. Just edit them to next hexadecimal number. Just edit the ones from your last break line or if you have just one, from pre-command #1. ______________________________________________________ 8. Repeat steps 5 to 7 for all pre commands that have that “Break” in them. ______________________________________________________ 9. Now go to step 12. ______________________________________________________ 10. No Pre Commands There will be a line near the bottom saying “There is no PGC Command Table.” Right-click on text and select “Add PreCommand”. ______________________________________________________ 11. You will have a new pre command containing a “Break” command Double left click on this new pre command line and you will be presented with your HexEdit Module window. Edit the hex value as follows. OLD > Pre Command...NOP............................................[00 00 00 00 00 00 00 00] NEW > Pre Command...(SetSTN) Set Subpicture Stream: 30(On).........[51 00 00 00 be 00 00 00] ______________________________________________________ 12. Save VTS_01_0.IFO ______________________________________________________ 13. Get VTS Sectors ______________________________________________________ 14. Press DVDPlay to preview and test. ______________________________________________________
__________________
2COOL Last edited by 2COOL; 11th July 2005 at 19:36. |
9th February 2003, 18:07 | #2 | Link |
Moderator
Join Date: Oct 2001
Posts: 3,530
|
Stream 31 is not "off", it is just very unlikely that it will be present. There can be as many as 32 subpicture streams, numbered from 0 to 31 (0x00 to 0x1f, or substream numbers 0x20 to 0x3f). The designation for "off" is stream 62 (ox3e, combined with the required flag to cause the new value to be stored is 0xbe).
I know IfoEdit is messed up in its interpretation, and we had a long thread about the values. Since that was awhile ago, it bears repeating. value meaning 00-7f will do nothing, bit 7 must be set to cause any change 80-9f stream 0 to 31 selected, but off a0-bd meaningless be no subpicture bf stream 0 forced, but off - ie, invalid c0-df stream 0 to 31 selected and displayed e0-fe meaningless ff stream 0 forced and displayed. Last edited by mpucoder; 9th February 2003 at 18:17. |
9th February 2003, 18:54 | #3 | Link |
Registered User
Join Date: Mar 2002
Posts: 512
|
Need to force seperate alien subs on
Sorry if I am in the wrong department but this sounds a little like what I want to do. I am reauthoring with ifo edit and do include some subtitles. Among them, I have the alien subtitles (i.e Klingon or Elvish translations, usually only a few lines in the movie).
I did some search and found out that I can not only label them with the propper language, but also with the propper extension as forced. (I think I had to right click on them or something like that to get an extended menu) Unfortunately, this did not make them play by default. I would like to have the alien subtitle come up that corresponds with the preset audio language. When I see the original, I see the klingon translation in my native language, not in english. (though my subtitles are set to off in my player) I would like to get this effect recreated. Perhaps I didn't search for the right term? Perhaps someone could help me with a link or a short explanation? I hope I explained well enough what I am trying to do. |
10th February 2003, 02:06 | #4 | Link | |
Registered User
Join Date: Nov 2002
Location: Croatia
Posts: 55
|
Quote:
Blue number IS NOT important! Let's say that during language striping in IFOEdit you lefted only English and Spanish Subtitles and have: SubPicture 1: English (2-bit rle ) (ID: 0x20) SubPicture 2: Español (2-bit rle ) (ID: 0x22) Then: Pre Command (SetSTN) Set Subpicture Stream: 2(Off) [51 00 00 00 c0 00 00 00 ] means default title is English And: Pre Command (SetSTN) Set Subpicture Stream: 2(Off) [51 00 00 00 c1 00 00 00 ] means default title is Spanish! Number cX in this command does not mean Subpicture ID, it means as follows: c0 - first subtitle c1 - second subtitle c2 - third subtitle etc.... Somebody before asked what to do if subpicture ID is 0x30, for example: SubPicture 1: English (2-bit rle ) (ID: 0x20) SubPicture 2: Français (2-bit rle ) (ID: 0x21) SubPicture 3: Español (2-bit rle ) (ID: 0x22) SubPicture 4: Japanese (2-bit rle ) (ID:0x23) ........ SubPicture 15: Italian (2-bit rle ) (ID:0x30) So after Striping in IFOEdit Lets say that we have: SubPicture 1: English (2-bit rle ) (ID: 0x20) SubPicture 2: Français (2-bit rle ) (ID: 0x21) SubPicture 3: Italian (2-bit rle ) (ID:0x30) Then to set default title to Italian you need: Pre Command (SetSTN) Set Subpicture Stream: 2(Off) [51 00 00 00 c2 00 00 00 ] |
|
10th February 2003, 02:26 | #5 | Link |
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
jmartina,
Thanks for pointing that out. The example I've used wasn't stripped of any subtitles and the most subtitles I've ever encountered on a DVD is 5. I didn't take into consideration that maybe all 32 subtitles would be present. I'll make the necessary changes to the guide as well as mpucoder's recommendation on using "BE" as our value for subpictures off. EDIT: Guide in first post has been updated
__________________
2COOL Last edited by 2COOL; 10th February 2003 at 11:41. |
27th February 2003, 11:55 | #7 | Link |
Registered User
Join Date: Feb 2002
Posts: 15
|
Forced subtitles
Hi all
I have succeefully authored StarWars II to play as on the original disc for zone two. I have removed all the subtitles except the english and forced "alien" subs. I folloed 2Cools method to the T for forced subs. It works on DVD play in ifoedit and on Power DVD However, when I play the disc on my Pioneer 535, no forced subs are available and only the english ones come up when requested via the hand set. Any help will be appreciated. |
27th February 2003, 12:20 | #8 | Link |
Registered User
Join Date: Feb 2002
Posts: 15
|
Alien forced subs
Can anyone out there give me a method to show "alien" talk forced subs by default, even when all subtitles are 'off'.
This is really starting to bug me as I can get my movies 'spot-on' except for these darn subs that refuse to come on by default. Come on guys -- you must have experienced this and found a solution. Let's hear from you. |
18th March 2003, 11:14 | #14 | Link | |
Registered User
Join Date: Nov 2001
Posts: 1,104
|
Re: Turning Subtitle (On/Off) by Default Guide
Quote:
However,
Thanks for any info! |
|
18th March 2003, 11:33 | #15 | Link | ||||
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
Re: Re: Turning Subtitle (On/Off) by Default Guide
Quote:
Quote:
Quote:
Quote:
__________________
2COOL |
||||
19th March 2003, 09:54 | #16 | Link | |
Registered User
Join Date: Nov 2001
Posts: 1,104
|
Turning on default audio stream necessary?
Quote:
And this makes me wonder: would it make any sense to also set the default audio stream to make a more standard-compatible DVD that is likely to run in more standalones? You see, I ripped three eps from a Buffy DVD that has 4 eps, I changed the number of chapters to 3 so you can skip straight to the next ep and I changed the fuzzy green subtitles to the normal white ones. So far so good. However, it appears to me that by making my own DVD over several steps I still may not have set all the standard 'settings' a DVD requires. I guess that both PowerDVD and my standalone did not find any command as to which audio/subtitle to display so they just picked the first ones they could find in the vob, which was english. Maybe by also setting this with a pre-command as I did on the subtitle would result in a more standard conform DVD? OTOH I'm maybe just getting too technical... |
|
19th March 2003, 13:01 | #17 | Link |
Registered User
Join Date: Nov 2002
Posts: 28
|
I've noticed that most shrinkwrapped DVD titles use this command in their IFOs:
(SetSTN) Set Subpicture Stream: 0 (Off) [51 00 00 00 80 00 00 00] Is this a better way of turning subs off by default? The Stream-62 method works, but I've noticed that my Apex standalone player seems to be displaying an (invisible?) subtitle stream as a result. When I press the "Subtitle" button on my remote, the TV displays "SUBTITLE OFF." The second press displays the subtitle(s). I've authored a disc using the "80" pre-command shown above, and it works like I want it to: first press of the "Subtitle" button on my remote brings up subtitle (only one subtitle stream on this test disc), and the second press turns it off. My question is, is there anything wrong with this method? I know Apex players aren't very picky, am I running the risk of this disc not playing on other standalones? |
13th May 2003, 04:48 | #19 | Link |
Registered User
Join Date: Jan 2003
Posts: 113
|
TO 2COOL
Thanks for your guide, 2cool!
I got a DVD and have no subtitle these days. I am trying to add a new subtitle in my movie and follow your way to change my subtitle settings, but the new subtitle just can display in IFOedit's "DVD PLAY" option, if I preview it in my POWERDVD player,it gone and with nothing subtitle be choosed. PS. I remux the main movie in IFOedit. |
13th May 2003, 07:54 | #20 | Link | |
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
Re: TO 2COOL
Quote:
Are you working with a movie only DVD?
__________________
2COOL |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|