PDA

View Full Version : Prefered supicture language


S36d2
7th September 2006, 19:19
There are a lot of discs which use the user preferred subpicture setting. Depending on the setting the discs navigation will select the appropriate subpicture. But instead of setting the track to 'on' the navigation selects 'off'.

Here's an example:


7 Set gprm(2) =(mov) sprm(18:Preferred sub-picture language)
8 if ( gprm(2) == 26738 ("hr") ) then { Goto line 24 }
9 if ( gprm(2) == 25459 ("cs") ) then { Goto line 26 }
10 if ( gprm(2) == 25697 ("da") ) then { Goto line 28 }
11 if ( gprm(2) == 28268 ("nl") ) then { Goto line 30 }
12 if ( gprm(2) == 25966 ("en") ) then { Goto line 32 }
13 if ( gprm(2) == 26217 ("fi") ) then { Goto line 34 }
14 if ( gprm(2) == 26999 ("iw") ) then { Goto line 36 }
15 if ( gprm(2) == 26741 ("hu") ) then { Goto line 38 }
16 if ( gprm(2) == 26995 ("is") ) then { Goto line 40 }
17 if ( gprm(2) == 28271 ("no") ) then { Goto line 42 }
18 if ( gprm(2) == 28780 ("pl") ) then { Goto line 44 }
19 if ( gprm(2) == 28788 ("pt") ) then { Goto line 46 }
20 if ( gprm(2) == 29558 ("sv") ) then { Goto line 48 }
21 if ( gprm(2) == 29810 ("tr") ) then { Goto line 50 }
22 (SetSTN) Set Sub-picture stream = 4, off
23 Goto line 55
24 (SetSTN) Set Sub-picture stream = 0, off
25 Goto line 55
26 (SetSTN) Set Sub-picture stream = 1, off
27 Goto line 55
28 (SetSTN) Set Sub-picture stream = 2, off
29 Goto line 55
30 (SetSTN) Set Sub-picture stream = 3, off
31 Goto line 55
32 (SetSTN) Set Sub-picture stream = 4, off
33 Goto line 55
34 (SetSTN) Set Sub-picture stream = 5, off
35 Goto line 55
36 (SetSTN) Set Sub-picture stream = 6, off
37 Goto line 55
38 (SetSTN) Set Sub-picture stream = 7, off
39 Goto line 55
40 (SetSTN) Set Sub-picture stream = 8, off
41 Goto line 55
42 (SetSTN) Set Sub-picture stream = 9, off
43 Goto line 55
44 (SetSTN) Set Sub-picture stream = 10, off
45 Goto line 55
46 (SetSTN) Set Sub-picture stream = 11, off
47 Goto line 55
48 (SetSTN) Set Sub-picture stream = 12, off
49 Goto line 55
50 (SetSTN) Set Sub-picture stream = 13, off
51 Goto line 55



I'm wondering why these statements don't turn the track to 'on'. I've seen this construction on a lot more discs.

bigotti5
7th September 2006, 19:58
Setting sub-picture stream to off means only forced subpictures in this stream are shown. Forced subtitles are usually used when a part of the movie is spoken in another language and is not dubbed.

Setting stream to on means "all subtitles in this stream are shown"
Setting stream to off means "only forced subtitles in this stream are shown"

blutach
7th September 2006, 22:23
Plus many subpic menu routines have a common routine that "add 64" to the value to turn it on.

So in this case, it's a "placeholder". Actually go to the subpic menu, select the button and you will most likely be taken to an "adjust by 64" PGC.

Regards

r0lZ
8th September 2006, 05:45
Also, on some remote, there are 2 buttons to select subpics. One button is used to cycle through the available languages, and the other one is used to display or hide the current subpic.
Setting a string off is handy, because it makes it current, and the user has only to use the subpic on/off button to enable directly his preferred subpic, without having to search for the right language.