Eric69
22nd January 2013, 03:08
Hi Folks
I have a title with 22 different subtitle languages. It has a main movie with the Subtitles and several smaller extras with no subtitles
The title has an Always On Menu IG with a looping background and a Pop-Up Menu IG Both IGs have the ability to select a particular subtitle and a “subtitle off” button. The “Pop-Up” IG is shared among all – the Main Feature and the Extras.
Id like to list my code and ask you if you think this will be sufficient:
MAIN MENU
Each button will basically set the GPR value according to which subtitle the user selects:
Eng - GPR 0== 1
Span - GPR 0==2
French – GPR 0 ==3
Portuguese – GPR 0==4
….and so on…
POP-UP
Each button will set the GPR value AND set the the proper PG stream since this will be active during the movie and want things to change on the fly.
Eng - GPR 0== 1
SetPG_textSt NO=1[DispON]
Span - GPR 0==2
SetPG_textSt NO=2[DispON]
French – GPR 0 ==3
SetPG_textSt NO=3[DispON]
Portuguese – GPR 0==4
SetPG_textSt NO=4[DispON]
….and so on…
Now….at the head of the main movie (ABOVE all the abstraction code since there are chapters) Id put the following code to turn on and off the correct subs since the extras do not have subs and Id assume players default back to position 1 if they hit a title with no subs:
1. if ((GPR NoEnteried[ID 0]=1) SetPG_textSt NO=1[DispON]
2. if ((GPR NoEnteried[ID 0]=2) SetPG_textSt NO=2[DispON]
3. if ((GPR NoEnteried[ID 0]=3) SetPG_textSt NO=3[DispON]
4. if ((GPR NoEnteried[ID 0]=4) SetPG_textSt NO=4[DispON]
and so on
From here, it goes on to play the film with the correct subtitle. Just want to make sure Im on the right path before I work on this next week. I did a smaller project similar to this but with less subs. It worked on the fly but didnt once I went out to the Main Menu and returned to the movie? Weird
Also, could someone explain exactly the difference between DispON and DispOFF??
E
I have a title with 22 different subtitle languages. It has a main movie with the Subtitles and several smaller extras with no subtitles
The title has an Always On Menu IG with a looping background and a Pop-Up Menu IG Both IGs have the ability to select a particular subtitle and a “subtitle off” button. The “Pop-Up” IG is shared among all – the Main Feature and the Extras.
Id like to list my code and ask you if you think this will be sufficient:
MAIN MENU
Each button will basically set the GPR value according to which subtitle the user selects:
Eng - GPR 0== 1
Span - GPR 0==2
French – GPR 0 ==3
Portuguese – GPR 0==4
….and so on…
POP-UP
Each button will set the GPR value AND set the the proper PG stream since this will be active during the movie and want things to change on the fly.
Eng - GPR 0== 1
SetPG_textSt NO=1[DispON]
Span - GPR 0==2
SetPG_textSt NO=2[DispON]
French – GPR 0 ==3
SetPG_textSt NO=3[DispON]
Portuguese – GPR 0==4
SetPG_textSt NO=4[DispON]
….and so on…
Now….at the head of the main movie (ABOVE all the abstraction code since there are chapters) Id put the following code to turn on and off the correct subs since the extras do not have subs and Id assume players default back to position 1 if they hit a title with no subs:
1. if ((GPR NoEnteried[ID 0]=1) SetPG_textSt NO=1[DispON]
2. if ((GPR NoEnteried[ID 0]=2) SetPG_textSt NO=2[DispON]
3. if ((GPR NoEnteried[ID 0]=3) SetPG_textSt NO=3[DispON]
4. if ((GPR NoEnteried[ID 0]=4) SetPG_textSt NO=4[DispON]
and so on
From here, it goes on to play the film with the correct subtitle. Just want to make sure Im on the right path before I work on this next week. I did a smaller project similar to this but with less subs. It worked on the fly but didnt once I went out to the Main Menu and returned to the movie? Weird
Also, could someone explain exactly the difference between DispON and DispOFF??
E