Log in

View Full Version : multiple audio tracks how to?


ivanski
4th November 2004, 22:13
Hello !
I would ike to ask how to properly script multiple audio titles in maestro.

I Want to have menu with three buttons coresponding to DTS, AC3 5.1, and AC3 2.0. After pressing this button I want to play the VTS1 with chosen audio format i.e DTS

Than, if I go and play different VTS2, with only one audio and return back to the previously viewed VTS with 3 audio formats, I would like to see it again with already predefined audio format (again DTS).

If I change the audio formt on remote to AC3 5.1 I would like to play VTS1 in this format regardless if I play the whole lot or i go back to chapter menu and choose different track.

I guess it is hard to describe
here are the scripts I am using:

audio menu
..........
button DTS linked to: Move GPRM0=1
button AC3 5.1 linked to: Move GPRM0=2
button AC3 2.0 linked to: Move GPRM0=3

Main menu
..........
button play all linked to : set System stream to Audio1 if GPRM0=1
set System stream to Audio2 if GPRM0=2
set System stream to Audio3 if GPRM0=3
jump to play list of movie1
/////////////
play list of movie1: chpter 1
chapter 2
etc
/////////////

Tk sel menu
............

tk1 button linked to script: set System stream to Audio1 if GPRM0=1
set System stream to Audio2 if GPRM0=2
set System stream to Audio3 if GPRM0=3
jump to chpater1 of movie1

tk2 button linked to script: set System stream to Audio1 if GPRM0=1
set System stream to Audio2 if GPRM0=2
set System stream to Audio3 if GPRM0=3
jump to chpater2 of movie1

etc.


this method works fine for most situations, however if you select audio format lets say DTS play tk2 (it correctly plays with this format) than during the playback switch the format to AC3 and return to chapter menu and again select any of the tracks, it will again play DTS and not AC3.

I know it is a chalenge

regards ivanski

influenza
5th November 2004, 15:41
If you switch the audio manually during playback your gprm value won't be changed. So if you go back to the menu and select an other track it will play the track with the gprm value set earlier.

So instead of using GPRM you might wanna use system registers. I don't know the exact register to use. SPRM 16 is for preferred audio amd sprm1 for audio stream IIRC . You can find this info on the mpucoder site.

SO I'm thinking of a scenario in which you fill the sprm with the desired audio stream from the menu. If you manually change the audio during playback this register is also changed and you'll have your desired effect.

Good luck!

ivanski
7th November 2004, 15:41
hi influenza !
Yes of course I thought about this method, however if I use sprm value and fill a gprm register with it, evrything works fine when you only changing audio in a VTS with three audio streams. Once you go to another title with only one audio, play it back and than return to the previous VTS (3 audio formats) it will always play back stream 1. It is due to the register being filled with sprm value from previously played title (1 audio).

regards ivanski

influenza
8th November 2004, 09:24
Yes you are correct about that.

What you could do (might need some manual ifo tweaking): add two dummy audio streams to the track with only one audio stream, so all tracks have 3 audio streams now.

Manually change the ifo after compiling. Change the audio stream values for the pgc with the dummy audio streams (in pg_city).Give all audio streams the same value (the one of stream 1). SO regardless of what audio stream is chosen in the tracks with 3 audio streams it will always play the same audio when playing the track with only one audio stream.

This way you will circumvent the problem, because when returning to an other track it will play the desired audio track.

I hope this is clear enough.

influenza
12th November 2004, 15:26
Did you get this working yet? I'm quite curious :)

dgoodbourn
12th November 2004, 15:50
You could use a spare GPRM to define whether you have just come from a title with 3 audio streams, or only with 1. Then when you put the SPRM1 into the GRPM, make sure you only do it if you have come from a title with 3 audio streams using a compare :)

Cheers

D.

ivanski
13th November 2004, 01:09
Hi !
would you be able to describe this in more detail ...meaby an example of the script would help.

regards

ivanski
13th November 2004, 01:11
For influenza !

No I didnt get this working because I am authoring 5 DVDs in a week and I dont know the ifo edit so well

regards ivanski

influenza
13th November 2004, 08:34
5 in a week, wow :)

well basically create the layout you already have, using sprm values and add 2 dummy audio stream to the pgc with only one audio stream. Oncy you have that compiled let me know and I'll explain what you need to do.

And what dgoodbourn means (I think is):

Use a gprm value to fill for example the track/pgc number you have just played. so for example use GPRMX and insert it with a value:

track 1 (3 audio streams) fill in 3
track 2 (3 audio streams) fill in 3
track 3 (1 audio streams) fill in 1

Now when selecting a new track do a compare. So either use the SPRM value if GPRMX is 3 or use the original GPRM value if the GPRMX is 1.

dgoodbourn
13th November 2004, 09:26
That's kinda what I ment, but... you'll have to do the compare in your ROOT area, as yu'll have to update the GPRM you are using for the audio everytime you return to the menus, otherwise if you play a track with a different number of audio streams, and then return to another track, it won't remember the audio you selected in the audio menu page. :)

BUT, the easist way like infuenza said, would be to triple up the audio streams on the track with only 1 audio streams, that way no compares are needed. Just make sure to prohibit the audio stream UOP on the track with only 1 audio stream, otherwise it would look strange changing the audio track, but hearing the same audio again!! :)

It's also good to hear people are busy out there. Good luck with all the projects.

D.

ivanski
13th November 2004, 12:07
Hi !

as far as the ifo editing method with dummy audio tracks, wouldnt stream where I add this dummy audio show on DVD player as an asset with three tracks? I would need these assets (with initial 1 audio) to appear as 1 audio assets !


regards ivanski

ivanski
13th November 2004, 12:11
Hello !

Thanx influenza, I got it working using GPRM fill and compare method. Hopefully, from now on my DVD multiaudio Titles everything will be woring as I had wanted.

ivanski

ivanski
13th November 2004, 12:18
Hi !

I dont wish to anyone to be as busy as I am currently. I manage to author everything, however foul proofing disks and testing is a big problem for me timewise. Most of titles I do is over 1.5 h with three audio tks in the main stream and lots of bonuses. I would need some slave who would watch everything, with his brain connected directly to ifo editor to correct overlooked mistakes.

regards ivanski

p.s. thank you all for input and answering my questions

influenza
14th November 2004, 10:07
send me some discs I'll check them :D