PDA

View Full Version : How to "autoexec" a Maestro command sequence?


sundance
5th May 2003, 15:01
Is there a way to preselect an audio/subtitle stream in Maestro?
I'm trying to start a movie-only copy with preselected streams, but the only way I found preselecting stuff is with a button.

Is there an "autoexec" command sequence?

[3nRiC0]
5th May 2003, 15:09
hi

you can write the code for make this, in here is impossible find people expert on command sequences and is impossibile find example and tutorials :(

In my DVD Maestro Project i have:

1 Video Stream
2 Audio Streams [ITALIAN] and [ENGLISH]
4 Subtitles Streams: 2 Not Forced [ITA] & [ENG]
and 2 Forced [ITA_FORCED] & [ENG_FORCED]

I want to create a "Command Sequences" for make this:

A)When i insert in DVD Player the disk, if the DEFAULT DVD player language [configurable in Menu-Setup of DVD Player] is Italian the disk must starts with:

[ITALIAN] Audio Stream ----> Selected automatically by DVD Player
[ITA_FORCED] Sub Stream


B)if the DEFAULT DVD player language [configurable in Menu-Setup of DVD Player] is English the disk must starts with:

[ENGLISH] Audio Stream ----> Selected automatically by DVD Player
[ENG_FORCED] Sub Stream


C)if i change the Audio Stream with the telepilot from ITALIAN to ENGLISH the FORCED tream must change from ITA_FORCED to ENG_FORCED and also for the change from ENGLISH to ITALIAN

SomeJoe
5th May 2003, 23:17
Hmmm ... how about:


1 MOV GP0 , SPRM0 Get preferred menu language into GPRM0
2 SetSTN Au(1) St(2-On) Set audio to Italian, set subtitles to Italian-Forced
3 Jump To Menu1[#1] if (GP0 = $6974) If preferred menu language is Italian, go to the main menu
4 SetSTN Au(2) St(4-On) Otherwise, set audio to English, set subtitles to English-Forced
5 Jump To Menu1[#1] and jump to the main menu


Use this command sequence as your "First Play" on the DVD. This will take care of your A & B requirements.

By the way this assumes your streams are set up as follows:

Audio 1 = Italian
Audio 2 = English
Subtl 1 = Italian
Subtl 2 = Italian-Forced
Subtl 3 = English
Subtl 4 = English-Forced

Requirement C, I don't think you can do. When the user presses the stream change button on the remote, it independently changes that stream, and I don't think you can intercept that to also change the other stream (audio/subtitles).

However, what you can do is block those stream change buttons using prohibited user ops, make the user go a menu to change streams, and use command sequences there similar to the one above to simultaneously change both streams.

sundance
6th May 2003, 09:09
@SomeJoe,
Interesting suggestion!
Do you have any sources (web links) where to learn command sequences and the meaning of those SPRM registers in detail?

[edit: found a very good page: http://members.aol.com/mpucoder/DVD/]

-sundance-

sundance
10th June 2003, 17:49
@SomeJoe,
been playing with those commands for a while now.
Could you explain why you used SPRM0 (preferred menu language) rather than SPRM16 (preferred audio language)? Just curious.

And, 3nRiC0, btw: I don't agree with you when you say "here is impossible find people expert on command sequences"; I think there's just few people using that stuff but I never found more experts on DVD related questions than here!

-sundance-

SomeJoe
11th June 2003, 16:27
You probably could use either SPRM0 or SPRM16 on most modern DVD players. Or even SPRM18 (preferred subtitle language).

However, I seem to remember reading somewhere (can't remember where now) that some older DVD players would set only SPRM0 in response to the user's DVD player menu language selection, and not set SPRM16/18. On those players, reading SPRM16 gives $FFFF (no preferred audio language) which doesn't help the command sequence choose the correct language.

oddyseus
12th June 2003, 20:41
I have to strongly disagree with [3nRiC0].

I personally answered an difficult to achieve situation that u described in this thread (http://forum.doom9.org/showthread.php?s=&threadid=52525) a little while ago and never got an OK/not OK feedback from you although I did it solely for your convinience.

Any way there r numerous other occasions that I as well as a number of other members have posted command sequence examples for questions asked.

In this board there is a wealth of knowledge that is offered freely and willingly to all. I hate to see remarks such as yours, especially when u never got in to trouble of searching if there is any available.