Log in

View Full Version : Change audio track automatically on DVD


hugomarafona
25th January 2008, 12:25
Hi.

I want make a DVD with the follow:

Video track = 1:30:00
Audio track 0 (english) = 1:30:00
Audio track 1 (portuguese) = 1:20:00
Subtitle track 0 (portuguese) = 1:30:00

I want when audio track 1 end change to track 0 and activate subtitle track 0.
Is possible? On Menu button can make this?

:thanks:

disturbed1
27th January 2008, 18:07
You would have to use a cell command. Make sure there is a new cell defined at the point where audio track 1 ends, and have the command set to change audio stream to track 0, and turn subtitle track 0 on.

hugomarafona
31st January 2008, 09:08
disturbed1, thanks. I will try that :cool:

PhillipWyllie
5th February 2008, 15:19
It's best have audio track 1 the same length as the video (add 10mins of silence to the end). It's a good idea to avoid discontinuity, if you change to audio 1 after 1:20:00 you may/will get grief(there's no audio so the ploayer won't play any audio at all when you change to track 0 or 2).

hugomarafona
5th February 2008, 16:58
Hi.

I try the way of disturbed1 and works perfectly but i have another problem.
I decided add more subtitles at DVD and structure will be like this:

Video track = 1:30:00
Audio track 0 (english) = 1:30:00
Audio track 1 (portuguese) = 1:20:00
Subtitle track 0 (portuguese) = 1:30:00
Subtitle track 1 (english) = 1:30:00
Subtitle track 2 (spanish) = 1:30:00
Subtitle track 3 (sweden) = 1:30:00
etc

I want the cell command only work if the track 1 is playing.
I having read to set conditions like R[0]=1 but i don't understand that.
PhillipWyllie, i will try your tip.

Any help is appreciated.
Thanks

disturbed1
5th February 2008, 20:22
It should be a simple if then command.

1. If asset != 1 goto 3
2. set stream command
3. nop

I'm that good at coding, but that's the basic idea. Someone else more experienced will likely chime in before too long ;)


PhillipWyllie is correct, all audio assets should be as close as possible in length.

hugomarafona
5th February 2008, 21:27
disturbed1, thanks by your response.
The if command that you talk is "if gprm..."?
I using pgcedit and dvdremake, how i make that? I'm young on this stuff.

Tks

hugomarafona
9th February 2008, 17:35
Hello guys.

Anyone can explain how i create a if command?
I've read information about the gprm but i don't understand.

Thanks

hamletiii
2nd March 2008, 13:42
The audio track 1:20 needs to be encoded at the same length as the others.
Cell command will cause a slight pause. Better alternative is to put a hidden button at 1:20, activate this button to change streams.