Log in

View Full Version : PGCEdit: 2 audio-streams, 4 subs - force subs + corresponding audio stream??


nbarzgar
22nd November 2008, 15:30
Hello everyone,

I need help on this as I cannot find any guide... Hope I didn't overlook something.
Here's what I'd like to do:

I've got a DVD with two audio-streams and four subs. Two of those sub-streams should be forced to show up with the corrseponding audio stream, i.e. audio 1+subpic1 and audio2+subpic3. So that changing the audio stream would automatically force the respective sub... (No need to change menu buttons, though.)

Would someone explain to me how to do that in PGCEdit, or similar? I am reasonably acqainted with it and have done some editing before now, although minor changes to DVD-structure only. So would you keep it simple for me, if possible by any chance? ;)
Thanks!!

blutach
22nd November 2008, 22:58
When you press the button for the relevant audio stream, as well as setting the audio stream with a SetSTN, set the relevant subbie stream, too.

For example:

[51 00 00 81 C2 00 00 00] 1 (SetSTN) Set Audio stream = 1 ; Set Sub-picture stream = 2, on (This sets audio stream 2 and subpic stream 3 - stream numbers begin at 0)

Regards

Calimari
23rd November 2008, 09:47
That works, if the streams are set directly with SetSTN commands.
But sometimes selecting a language just sets a gprm register or jumps to another pgc where the highlighted button number is checked.

If the audio and subtitle languages can't be set in one SetSTN command, here's a more advanced way to achieve this goal.
In trace mode, trace to the point where you are about to select you languages (mostly the main menu) Before you make your next move, go in the "State" menu and select "Clear registered changed" flags. This means that PgcEdit will "forget" all the register changes that were made already during the navigation. Now go on with the trace, select your audio language and eventually your subtitle language, then return to the main menu. Now enter the "Clipboard" menu and click "Copy changed registers as commands".
Now you have all commands that were changed during your audio/sub selection procedure copied to your clipboard. You can paste them everywhere. Once the navigation enters them, it will be like you did the whole selection procedure manually. Just take care that this new code doesn't override other audio/sub settings that can be made in the menu. You could avoid this by using an empty gprm to build a conditional check around it, eg. the navigation only executes the code if you didn't select a subtitle manually.
This is a rather advanced method, but very powerful.

nbarzgar
23rd November 2008, 15:51
Thanks guys.
This is the problem/idea, I'd like to solve:

1. Indeed there were originally gprm values given, backup is there of course.
2. Is it possible, without changing the menu, to have/set the following setup:
(as above), set audio 1+subpic 1 forced and audio 2 + subpic 3 forced AND have the option to turn on subpic 2 or 4 respectively, while subpics 1 and 3 STAY ON? AND also have the forced subs change automatically, when changing audio... Or would that have to be solved through additional, i.e. new menus for subs and audio altogether?

I have made a backup of a DVD and added a subpic to it, keeping the menu (using Subtitle Creator.) Works fine, but the subs I'd like to have forced, contain additional explanations of short sign-language intervals in the movie. But these are separate from the spoken-language subs...

Therefore I possibly would either have to add a button to the original menu - or re-author completely (which I'd like to avoid...) or find a way in PGCEdit... ;)
Any suggestions?

Thank you!!