Log in

View Full Version : Turning Subtitles (On/Off) by Default Guide


Pages : [1] 2 3

2COOL
9th February 2003, 10:01
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.
Turning Subtitles ON by Default v2.0 (http://www.videohelp.com/~r0lZ/pgcedit/third_party/2cool/subtitles/subtitles_on_default_pgcedit.htm)
Turning Subtitles OFF by Default v2.0 (http://www.videohelp.com/~r0lZ/pgcedit/third_party/2cool/subtitles/subtitles_off_default_pgcedit.htm)

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.
If you did not strip any subpictures out then go to next step.
If you’ve STRIPPED any subpictures, then goto step 4.
______________________________________________________
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.

C0 SubPicture 1: Language (2-bit rle ) (ID: 0x20)
C1 SubPicture 2: Language (2-bit rle ) (ID: 0x21)
C2 SubPicture 3: Language (2-bit rle ) (ID: 0x22)
C3 SubPicture 4: Language (2-bit rle ) (ID: 0x23)
C4 SubPicture 5: Language (2-bit rle ) (ID: 0x24)
C5 SubPicture 6: Language (2-bit rle ) (ID: 0x25)
C6 SubPicture 7: Language (2-bit rle ) (ID: 0x26)
C7 SubPicture 8: Language (2-bit rle ) (ID: 0x27)
C8 SubPicture 9: Language (2-bit rle ) (ID: 0x28)
C9 SubPicture 10: Language (2-bit rle ) (ID: 0x29)
CA SubPicture 11: Language (2-bit rle ) (ID: 0x2A)
CB SubPicture 12: Language (2-bit rle ) (ID: 0x2B)
CC SubPicture 13: Language (2-bit rle ) (ID: 0x2C)
CD SubPicture 14: Language (2-bit rle ) (ID: 0x2D)
CE SubPicture 15: Language (2-bit rle ) (ID: 0x2E)
CF SubPicture 16: Language (2-bit rle ) (ID: 0x2F)
D0 SubPicture 17: Language (2-bit rle ) (ID: 0x30)
D1 SubPicture 18: Language (2-bit rle ) (ID: 0x31)
D2 SubPicture 19: Language (2-bit rle ) (ID: 0x32)
D3 SubPicture 20: Language (2-bit rle ) (ID: 0x33)
D4 SubPicture 21: Language (2-bit rle ) (ID: 0x34)
D5 SubPicture 22: Language (2-bit rle ) (ID: 0x35)
D6 SubPicture 23: Language (2-bit rle ) (ID: 0x36)
D7 SubPicture 24: Language (2-bit rle ) (ID: 0x37)
D8 SubPicture 25: Language (2-bit rle ) (ID: 0x38)
D9 SubPicture 26: Language (2-bit rle ) (ID: 0x39)
DA SubPicture 27: Language (2-bit rle ) (ID: 0x3A)
DB SubPicture 28: Language (2-bit rle ) (ID: 0x3B)
DC SubPicture 29: Language (2-bit rle ) (ID: 0x3C)
DD SubPicture 30: Language (2-bit rle ) (ID: 0x3D)
DE SubPicture 31: Language (2-bit rle ) (ID: 0x3E)
DF SubPicture 32: Language (2-bit rle ) (ID: 0x3F)
______________________________________________________
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...
...NO "Break" commands in your pre-commands, then go to next step.
...have ANY "Break" commands in your Pre-commands section, then go to step 9.
...have NO pre-commands present, then go to step 14.
______________________________________________________
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.

If you have NO break commands in your pre-commands then go to next step.
If you have ANY “Break” commands in your Pre-commands section, then go to step 5.
If you NO pre-commands present, then go to step 10.

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.
______________________________________________________

mpucoder
9th February 2003, 18:07
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.

ux-3
9th February 2003, 18:54
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.

jmartina
10th February 2003, 02:06
1. In VTS_01_0.IFO/VMG Overview/ Title Set (Movie) attributes section, we need to find out which Subtitle we want turned on. All we need to know is the number (highlighted in blue) associated with your selected SubPicture. See example below. Write your number down that’s associated with language you want to display.

A little correction:

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 ]

2COOL
10th February 2003, 02:26
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

Betfair
23rd February 2003, 21:58
Thanks for that excellent guide. Just used it for starwars ep1 and works a treat. This would be a good sticky :)

boops
27th February 2003, 11:55
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.

boops
27th February 2003, 12:20
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.

2COOL
27th February 2003, 12:44
@boops

Try setting your default subtitle language on your DVDplayer to "audio follow".

boops
1st March 2003, 12:11
Hi Cool

Tried the audio follow option
Still no forced subs.

On WinDVD and Power DVD, subs work as expected but not on standalone

2COOL
1st March 2003, 16:33
Can you try it on another standalone and with audio follow selected?

boops
2nd March 2003, 08:35
Hi 2Cool

Will do and post findings asap

boops
3rd March 2003, 12:58
Tried on Pioneer 525 and 535 models --- no forced subs.
Tried Sansui -- does not play dvd-r
Will try to access other models soon

Boops

Chetwood
18th March 2003, 11:14
Originally posted by 2COOL
[font=century]
C0 SubPicture 1: Language (2-bit rle ) (ID: 0x20)
C1 SubPicture 2: Language (2-bit rle ) (ID: 0x21)
__________________________________________________________________________
14. 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 “Break” 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 ]
__________________________________________________________________________



Seems a bit confusig for me here. In my case of a RC-2 Buffy DVD with only english/german subs I do not have any PGC Command Table so I insert my own Pre-Command as you did in step 14. Now I want the second subtitle stream (German) to be turned on by default so I would have to add the value 'C1'. But do I really have to do it manually? I did a right-click on the newly generated emtpy command line and selected 'edit command' and in the upcoming drop-down box I selected

- (SetSTN) Set Subpicture Stream Nr
- Stream 1

which resulted in the following line:

[000000F4] 1. Pre Command (SetSTN) Set Subpicture Stream Nr: 1(Off) [51 00 00 00 81 00 00 00]

Now when I play the movie in PowerDVD German sub is enabled by default as I planned it to be!

However,


why does the hex value read '81' instead of 'C1'?
why does the SetSTN-command read OFF instead of ON?
why do we have to enter a value manually when we can select the desired command and subtitle stream in the dropdown box?
am I confused or what?


Thanks for any info!

2COOL
18th March 2003, 11:33
Originally posted by Chetwood
why does the hex value read '81' instead of 'C1'?
Check mpucoder's reply 13 posts up on value definition. If you do it in the dropdown, it will selected but will be off.

why does the SetSTN-command read OFF instead of ON? I should've also put it in the "On by Default" section but read the note in "Turning Subtitles OFF by Default" Step 1.

why do we have to enter a value manually when we can select the desired command and subtitle stream in the dropdown box? Just like your first question, we need your subtitles to be selected and on.

am I confused or what? Are you still confused?

Chetwood
19th March 2003, 09:54
Originally posted by 2COOL
Are you still confused?

Well, I'm not digging it totally but it seemed to work ok. I just got confused cause my method of using the pulldown menu instead of manually changing the settings also came up with the same results. I guess, by turning off the primary subtitle stream PowerDVD and my standalone automatically switched to the next stream which in my case was the one I desired.

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...

vikodin
19th March 2003, 13:01
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?

nuno
27th April 2003, 23:47
Hi !
Could someone turn place this thread as the replacement of:

"Sticky:how to change default subtitles???? ( 1 2 3 4 )"

XCPU
13th May 2003, 04:48
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.

2COOL
13th May 2003, 07:54
Originally posted by XCPU
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.

If I understand correctly, you have a DVD with no "existing" subtitles. I don't see how you could get subtitles in by just remuxing the m2v file. You would to use IFOedit's "Author New DVD" feature to mux in a subtitle stream. Did you say that it "can" display in IFOedit but not in PowerDVD? Hmmm...

Are you working with a movie only DVD?

XCPU
13th May 2003, 08:19
Forgive my POOOOOR English,2cool.....:p

My original DVD has no existing subtitle indeed and I got a subtitle for the movie, I rip to my HD and demux them into m2v and ac3 files and then I use "Author new dvd" funtion in IFOedit to remux the m2v/ac3/sup files. And then I got lots of VOB files and IFO and BUP etc.Now if I run POWERDVD and choose "play dvd from HD", it can play my new movie with subtitle, but the menu is gone.

What I want is to keep my original menu and add a new subtitle into my DVD and this new subtitle can control by remote is enought!


Forgive my POOOOOOOR English again...hope you can understand what I want.....

Thank you very much, 2COOL!

XCPU
13th May 2003, 08:19
Forgive my POOOOOR English,2cool.....:p

My original DVD has no existing subtitle indeed and I got a subtitle for the movie, I rip to my HD and demux them into m2v and ac3 files and then I use "Author new dvd" funtion in IFOedit to remux the m2v/ac3/sup files. And then I got lots of VOB files and IFO and BUP etc.Now if I run POWERDVD and choose "play dvd from HD", it can play my new movie with subtitle, but the menu is gone.

What I want is to keep my original menu and add a new subtitle into my DVD and this new subtitle can control by remote is enought!


Forgive my POOOOOOOR English again...hope you can understand what I want.....

Thank you very much, 2COOL!;)

2COOL
13th May 2003, 09:28
Originally posted by XCPU
What I want is to keep my original menu and add a new subtitle into my DVD and this new subtitle can control by remote is enought!
Taken from the first paragraph of this guide, DVD Authoring in IfoEdit (http://www.doom9.org/mpg/ifoedit-dvdauthor.htm)...

"If you're only using your favorite DVD authoring program to create 1 video movies without menus IfoEdit is perfect for you."

...IFOedit 0.95 will not let you keep the original menu and it also works on only making one Title Set, which is your movie.

You would have to go about a harder way like using Scenarist to reauthor. Somebody correct me if I'm wrong here or if there is another way, as I don't use Scenarist. From what I've read, the learning curve on Scenarist is pretty steep and knowing you're still being a newbie to the scene...

XCPU
13th May 2003, 11:19
In fact, I am really a newbie and SCENARIST is like a huge nightmare to me. I just want to backup my DVD with my own subtitle and keep down the beautiful menu.As you know,many DVDs have lots of beautiful menu and I don't think I can make it myself. but if I add new subtitle into DVD, one way is the menu gone, the other way is my subtitle gone. I am trying to make a "perfect" DVD to me and.....my girl friend. That's all.

komanch
5th June 2003, 10:44
Originally posted by 2COOL
If you have...
...NO "Break" commands in your pre-commands, then go to next step.
...have ANY "Break" commands in your Pre-commands section, then go to step 9.
...have NO pre-commands present, then go to step 14.

sorry but i'm don't understand :(
what does mean "Break" commands
can you show/write me any for example?

mpucoder
5th June 2003, 14:06
If you had any, IfoEdit would show them. The command means the same as it does in C, that is break out of the current construct. In the case of pre commands, that means stop executing them, and start the movie.

komanch
5th June 2003, 14:50
This is my PGC CT:
PGC Command Table:
Number of Pre Commands: 39
Number of Post Commands: 1
Number of Cell Commands: 0
Size of Command table in bytes 327

1. Pre Command .............. If GPreg<6> == (cmp-val)<1><' then Goto line# 36
2. Pre Command .............. If GPreg<5> == (cmp-val)<1><' then Goto line# 36
3. Pre Command .............. Set GPreg<3> mov SPreg<preferred sub-picture language>
4. Pre Command .............. If GPreg<3> != (cmp-val)<25459><'cs'> then Goto line# 7
5. ...


Where is the 'Breake commands'?
Have I got any?

mpucoder
5th June 2003, 14:57
Originally posted by mpucoder
If you had any, IfoEdit would show them.
A Break command will show up as "Break" - can it be any simpler?

komanch
5th June 2003, 15:22
OK. Thank you. :)

Tonio Roffo
20th July 2003, 17:18
When testing this on some movie backups it works, with others I get the following error:

IfoEdit: There is something wrong! The File position does not match the offset for table ID_VTS_C_ADT

followed with more errors.

Saving the resulting .ifo cripples the playback of DVD in powerDVD, clicking a position on the blue bar doesn't skip to that position anymore. Written to DVD-RW, I get "error" on my dvd player

Any ideas here?

maa
15th September 2003, 10:01
Originally posted by 2COOL _____________________________________________________
15. You will have a new pre command containing a “Break” command
______________________________________________________
Hi 2COOL I just read through this and found the above.
That doesn't seem correct - to me it should say NOP :confused:

2COOL
15th September 2003, 12:40
@maa

You're absolutely right! Minor adjustment. I wondered how long it's been like that? Oh well...:(

... but,thanks for the spot!:D

Canuck
3rd October 2003, 19:31
Originally posted by 2COOL
Try setting your default subtitle language on your DVDplayer to "audio follow".

What did you mean "audio follow"? Some setting in IFO?

2COOL
3rd October 2003, 19:45
Originally posted by Canuck
What did you mean "audio follow"? Some setting in IFO? This is in your standalone DVD player's setup.

nt_1973_au
14th February 2004, 03:22
hey,

i just wanted to know what software do you use to turn the subtitles on/off? i've been using dvd decrypter and then dvd2one and have found that on some movies, that the subtitles(for parts where the dialogue is not english) are by default on, and on others they are off. Not really surewhy this is. maybe someone can clarify why this is?

nt.

2COOL
14th February 2004, 03:25
Welcome to the Forum! :D

@nt_1973_au

If you are referring to the guide, you'll be using IfoEdit. Sorry if I didn't state it clearly.

vincent777
20th February 2004, 02:46
I have found that setting the value of "be" works on PC players and some stand alone DVD players but I have a cyberhome player which displays the first subtitle stream if "be" is set.

I havn't had this problem with original comercial DVDs and I think it must because these DVDs use "80" instead of "be".

This might just be non-standard interpretation by one DVD player but I was wondering if anyone else has had any problems using "be".


vv

nt_1973_au
20th February 2004, 12:42
hey,

i have tried turning the subs on by default using the procedure described here, but have been unable to get it to work. has this procedure worked for others?

nt.

maa
20th February 2004, 16:53
I have a feeling that this only works if your standalone has been cionfigured to show subs automatically....

2COOL
20th February 2004, 19:26
Well, I do have this in the guide.

2/27/2003 Update: You must also set your default subtitle language on your standalone DVD Player.

maa
20th February 2004, 19:37
True - Its unfortunate though that its neccesary, as a normal menu selection will switch on the subtitles without having the player configured that way - isn't there a command that will switch them on ?

2COOL
20th February 2004, 19:53
@nt_1973_au

Referring to this site's page (http://www.dvd-replica.com/DVD/setstn.php?p=10), if you check Subtitle stream, select stream number, and generate the hex command, you'll still get the same values as what I have posted.

When you do the edit in IfoEdit, save, and do a DVDPlay, does it subtitle appear in your Subpicture field in your DVDPlay panel. If so, does the subtitles appear in your preview window? Trying toggling the subpictures. Do you get other subtitles?

maa
20th February 2004, 20:16
But in that very page you can tick "Force Subtitle Stream on" which gives a different HEX and surely is the answer instead of messing with the players bios.

maa
20th February 2004, 20:49
And I just did a test - it works !

Set Substream 1 and Force it to play regardless of players setup:
51 00 00 00 C1 00 00 00
(ifoedit calls this "(SetSTN) Set Subpicture Stream: 1(off)")

Set Substream (off) - doesn't play unless your player is set to automatically play substreams:
51 00 00 00 81 00 00 00
(ifoedit calls this "(SetSTN) Set Subpicture Stream: 1(off)")

In this case ifoedit is right because the stream is set and OFF
However the Force command got the same wording and is simply wrong!
Thank God for DVDReplica.com !!


@2COOL - you can change your guide now ;) :)

2COOL
21st February 2004, 08:04
@maa

Originally posted by maa
Set Substream 1 and Force it to play regardless of players setup:
51 00 00 00 C1 00 00 00
(ifoedit calls this "(SetSTN) Set Subpicture Stream: 1(off)")OK, I know this works if I want to turn the subtitles on and it's documented in the guide also so I don't need to change this. Also, the "off" is misleading.
Set Substream (off) - doesn't play unless your player is set to automatically play substreams:
51 00 00 00 81 00 00 00
(ifoedit calls this "(SetSTN) Set Subpicture Stream: 1(off)")I'm hesistant on correcting the guide on two accounts.

1. Out of past experience, in at least two DVDs I tried, using "80" instead of "be" did not work. Only by using [51 00 00 00 be 00 00 00] could I have it successfully turned the subtitles, in question, off when playing in IfoEdit and any player I played my backup on.

2. mpucoder posted the info below in the 2nd post of this thread and I highly regard his recommendations. Back then when I corrected the guide, I guess one testing of "be" really worked for me instead of "8?".

Originally posted by mpucoder
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.

maa
21st February 2004, 13:41
Yes I know - on checking the "Force" box on DVDReplicas auto-command-generator the command name writen below is correct (on)

Just a shame really the Derrow has the least usefull command in his dropdown menu - the one that doesn't work !

cheers

nt_1973_au
22nd February 2004, 04:37
hey,

thanks guys. finally got it work. works well.

nt.

dnetzero
22nd February 2004, 17:46
I am glad that things worked out for you all finally.
I just want to clarify what said above if the following makes any sense.

The instruction bit pattern for SetSTN is as following (non-register mode). You may need a hex calculator to do all this.

51 00 00 Axaaaaaa SFssssss Vxvvvvvv 00 00,
where A can be 0 or 1 (1 sets the audio stream on)
x is a don't care bit
aaaaaaa is a 6-bit audio stream (0-63, 0-based, so stream 3 is 2 here).

S can be 0 or 1 (1 sets the subpicture stream on)
F can be 0 or 1 (1 forces subpicture stream on)
ssssss is a 6-bit subpicture stream (0-31 and only 63 is valid, 0-based).

V can be 0 or 1 (1 sets the video angle on if multi-angle)
x is a don't care bit
xxxxxx is a 6-bit video angle (*note* that this is 1-based, the first video angle is 1).

The contents of SetSTN pages at DVD-Replica were verified with Sonic Solutions Scenarist and several DVD players so I am confident that the hex generator did its job. For example (from Scenarist).

5100 0083 c483 0000 (SetSTN audio=4, subpicture=5:ON, angle=3)

Hope this helps.

2COOL
23rd February 2004, 05:18
Thanks for the technical info dnetzero! :D

Jipman
1st March 2004, 22:06
A big thanks to 2COOL for this excellent guide. just what I needed and a big thx for the Disabling/Bypassing Unwanted Titles guide too. Both these guides have helped me immensely. :cool: