Log in

View Full Version : How to change firstplay audio track ?


Somebla
27th December 2005, 20:20
Hey,
I have this DVD with 2 audio tracks: English(0X80) and French(0X81).
When playing the movie the French track is automatic playing and I would like to change it to the English track, so whenever I play the movie the English track will play first.

Could anyone please explain me how ? or has a link to a certain guide ?

Thanks ;)

bigotti5
27th December 2005, 21:06
If your player setup is already on french as preferred audio language (SPRM 16) you will have to do it with a precommand.

Open the DVD with PgcEdit, mark the title and add or modify an existing precommand to "(SetSTN) Set Audio =1" (51 00 00 81 00 00 00 00)

r0lZ
28th December 2005, 00:12
Take care however: if you add a command in the main title, your audio selection menu will not work any more. It's better to search in the DVD for the SetSTN command, and try to understand how and why it is set, and modify that PGC to suit your needs. Use the PgcEdit trace mode to help you.

Also, are you sure your standalone player is configured to play the english track automatically? On some DVDs, the default language is selected by the player.

blutach
28th December 2005, 11:58
If you have menus, you can run the macro PGC --> Jump to PGC Upon DVD Insert. Just run through the main menu to the audio menu, selecting the stream you want, returning to the main menu when you are done. Then run the macro.

Here's a guide - http://www.videohelp.com/~r0lZ/pgcedit/third_party/blutach/How_to_use_PgcEdit_new_macro.htm

Regards

CoNS
8th January 2006, 20:50
blutach, thanks for the guide. It's complicated stuff (for me, at least!) but it works! :o However, now I'm stuck with this somewhat tricky variant:

I have a disc which starts with an intro (that I'd like to keep!) and then goes to the main menu. If I select the "Play" button in the menu, the movie starts with no subtitles on. I'd like to make a hidden "pre-selection" of a specific subpic stream, like if I had gone to the subtitle submenu, selected the desired language and returned to the main menu.

(I don't want to do it with a SET_STN precommand in the main movie PGC, as this would totally disable the functionality of the subtitle submenu.)

It seems to me that I can't use the guide (or the Jump to PGC upon DVD insert macro) in this case, as I can't get back to the intro in PgcEdit's trace mode after I've entered the main menu and selected the desired subtitles. Right?

What I need is the part of the macro that sets the registers for me (in the main menu), but without the jump. So it's probably something about using the trace mode without the macro, watching which registers are changed when I select the subtitles, and then adding some precommands to the main menu PGC. Is this correct? And how do I exactly do it in PgcEdit's trace mode etc.?

r0lZ
8th January 2006, 23:39
Although it's not exactly what you want to do, you can use the method explained here (http://forum.doom9.org/showthread.php?p=733015#post733015). The idea is to trace until you reach point A (any point after the intros, but before you set your subpic), then clear the registers changed falgs and continue to trace to the subpic menu, select your subpic, and continue to trace to point B, which may be your main menu, or the main movie. If you adapt the instructions, you should be able to skip everything between point A and point B, and your default subpic will be set.

Another method is to use the trace mode to find out how and where the default streams are initialized, and to change this part of the code. Unfortunately, it is impossible to describe a general method to do that.