PDA

View Full Version : DVD: How to turn subtitles on/off?


moviefan
11th August 2006, 09:14
Hey guys,

I'm currently stuck with the issue of turning a subtitle on and off. My command structure for subtitles looks like this:

First Play:

set gprm(0) = (mov) 1 (needed for menu loop later)
check, whether preferred subtitle language is English or German
if it is 'German': set gprm(2) = (mov) 1; else it remains 0
go to root menu in VTS_01


The root menu is a motion menu and consists of 3 parts:

intro (no loop)
main part (with transition from intro; no loop)
main part (without transition from intro; loop)


When entering the main menu, the player decides, whether to play the intro, too, or whether it has to jump to the loop-part. If it plays the whole menu, which I only want the viewer to watch after having inserted the DVD, gprm(0) is set to 0 and then the intro is skipped. Besides assigning 0 to gprm(0), I set the subtitle language like this:

Set Sub-picture stream = gprm(2)

When setting a sub-picture stream whose value is stored in a variable I can't select the option 'on'.

So not quite a brief explanation of the situation, but I think I better make my problem obvious to you by explaining an extract of my menu structure. So how can I turn the subtitle on and off respectively?

Thanks in advance!

goonix
11th August 2006, 17:26
Set Sub-picture stream = 0 -> subpicture stream 0 is selected but off
Set Sub-picture stream = 1 -> subpicture stream 1 is selected but off
etc.
...
Set Sub-picture stream = 62 -> all subpictures will be switched off
Set Sub-picture stream = 63 -> current subpicture will be switched on
...
Set Sub-picture stream = 64 -> subpicture stream 0 will be switched on
Set Sub-picture stream = 65 -> subpicture stream 1 will be switched on
etc.

For this reason your gprm(2) should be set to 65 if you want to switch the german subtitles on (assuming it has stream number 1).

Then the command:
Set Sub-picture stream = gprm(2)
will work.

goonix

moviefan
12th August 2006, 14:18
That's a very clear information about subpicture settings! Thanks a lot, it works perfect!