PDA

View Full Version : Wrong audio track in scenarist


Poppy
8th March 2004, 00:53
I am authoring a movie in scenarist with one simple menu giving a choice of either dts or 5.1 audio.

The audio track 1 is dts, audio 2 is 5.1

Whenever I select the button to play the 5.1 track it always plays the dts. If I select dts, I get dts.

I burned a disc and it will change the audio tracks when I hit the audio button on the remote, but whichever option I select from the root menu it plays the dts soundtrack.

My video manager has a dummy frame with a pre command to the root menu.

My vts1 folder has a language folder and a title1 folder containing the movie.
The language folder contains the menu , which is the root and an audio menu, and 2 dummy frames each with precommands to the relevant audio tracks.
There are 2 buttons on the root menu each connecting to one of the dummy frames, so you can choose which audio track you want to play.

Can anyone please tell me where I have gone wrong......

dgoodbourn
8th March 2004, 10:29
What commands do you have on the dummy PGCs (frames)?

Poppy
8th March 2004, 11:11
Each dummy has only pre commands.

First has pre command to play audio track 1 and the main movie.

Second has pre command to play audio track 2 and the main movie.

Dimmer
8th March 2004, 12:18
@Poppy
Run the software simulation of the entire project and watch Audio (1) value (that means SPRM1) under System Params tab in Simulation window. When stream 1 is played, it should display 0. For stream 2, it should show 1. During a menu display, it could change to 15, that's normal. This may help you figure out your problem.

Poppy
8th March 2004, 15:41
Ok. I removed all commands and redid them.

I now have the same problem but in reverse...ie it always plays the 5.1 track.

This happens when I run it in the simulation window....it displays audio stream 2 at the bottom???

This is now starting to drive me a little crazy :confused:

Dimmer
8th March 2004, 19:54
Well, now you have to find the moment the audio stream changes to 2 instead of 1. During the simulation, it lists all the Button/Pre/Post commands on the information screen within the main window when they are executed. Watch how SPRM1 changes when you press menu buttons, there is enough debug information to solve this issue.

DnGermany
9th March 2004, 10:24
Why are you using pre cmds to change the audio anyway? Just set the button cmd to choose the audio track SetSTN audio=1 or 2. And then link the post cmd of the menu to the movie.

dgoodbourn
9th March 2004, 10:48
Having a Post command on the menu, would mean having a moving menu or a slide show with a timeout. Maybe the menu is a still :)

Dimmer
9th March 2004, 11:09
Originally posted by dgoodbourn
Having a Post command on the menu, would mean having a moving menu or a slide show with a timeout. Maybe the menu is a still Actually, even if the menu is a still, DnGermany makes a very valid suggestion. Suppose the button commands are:
1: { SetSTN audio=1 ; LinkTailPGC, button=0 }
2: { SetSTN audio=2 ; LinkTailPGC, button=0 }

Then Post command of the still menu would be:
1. JumpVTS_TT Title_1

There will be no need to use dummy PGCs, so it's even more elegant than the original poster's scenario.

DnGermany
9th March 2004, 13:01
Same as what dimmer mentioned for still menus. Set your audio and then link (jump by sub-instructios) to post cmd of current PGC. Actually it can be used for motion and still menus. No need for dummy PGCs at all. Well hope that helps you out Poppy, and did you ever get scenarist to burn a disc.

Poppy
9th March 2004, 19:01
Beautiful guys....thank you.

I was over complicating things way too much.

I used button commands to link audio tracks and a post command to the movie as suggested and it all works fine.

@ DnGermany....no mate....still can't get it to burn discs :confused:

Clown shoes
9th March 2004, 23:25
What if that menu was a looping video track? Would the post command not be needed to loop the menu? I ask because I have a similar set up and would like to streamline it if possible, removing any unnecessary dummy jumps.

Clown Shoes

Dimmer
10th March 2004, 04:59
Originally posted by Clown shoes
What if that menu was a looping video track? Would the post command not be needed to loop the menu? Yes, you can loop using a cell command like LinkTopPG, button=0. When you use LinkTailPGC in a button command, it would bypass the cell command and go straight to the Post commands where you can put all your jumps to titles.