Log in

View Full Version : Jump and resume driven by cmd seq in Maestro


brucy
22nd November 2002, 17:23
Hi all,

I did a big search on this subject but I didn't find any solutions. I hope someone can help me.

Normaly it is a very simple function which I checked with the "Navigation Simulator" in Maestro but when the DVD is burned it does not work anymore.

I have a subtitle Menu where the user can select the subtitle language. The button is linked to a cmd seq. It checks if the user selects this button at the beginning or when he started already the movie. The reason why I have done this is that I want to stay in the menu area when the movie had not been started yet and resume to the movie when the user selected the menu after he started the film.

1 MOV GP3 , SPRM4
2 SetSTN St(2-On) if (GP1 = 0)
3 SetSTN St(6-On) if (GP1 = 1)
4 MOV GP2 , SPRM2
5 Jump To main[#1] if (GP3 = 0)
6 Resume if (GP3 > 0)

Line 1:
Read the SPRM 4 (Playing title number) and move value to GP3
Line 2 and 3:
Set subtitle according to the value of another variable (not important for the problem)
Line 4:
Set selected subtitle value to GP2 (value needed in another menu but also not important for this problem)
Line 5:
Jump to the main menu if movie has not been started yet
Line 6:
Resume to the movie when the subtitle menu has been selected from the movie.

As I said when I check this with the "Navigation Simulator" in Maestro there is no problem. On the burned DVD it always makes a "resume". So line 5 will never been executed although I did not start the movie :angry:
I tried it also with SPRM 5, 6, 7 with the same result.

Thankx for any help.

UTec
24th November 2002, 10:19
I think the reason is that the value of SPRM4 is 1 by default when you insert the disc in the player and not 0 like GPRM's.

brucy
25th November 2002, 09:36
Thankx UTec, however I tried it also with different values and different SPRMs but with the same result.
Actually it is not a correct resume what will be performed. It jumps to a black screen and stays there . If I hit the PLAY button it starts the movie.

brucy
25th November 2002, 17:26
Maybe I should change the content of my question. How do I have to program my menus to provide the feature I described above? That after selecting a subtitle in the subtitle menu the DVD jumps either back to the main menu where I can start the movie or it jumps back to the movie from where I called the subtitle menu after I started the movie.

The DVD "the invissible man" for example works how I described.

UTec
26th November 2002, 07:53
Ok I see what you're trying to do now. This is a very common feature in DVD's. The fact of the matter is that you don't have to use SPRM's for the DVD player to be "aware" of where playback is at. The resume function is self-implying, it's a smart function if you will.

The best way to do it would be to use a few small command sequences using only 1 GPRM to tell if the movie playback has started or not (I'll use GPRM3 in the following examples) and another GPRM ( 2 in this example) to support multiple subtitles choices (more than one button) in the subtitle menu.

Write this cmd seq and make it the target of the Play Movie button in your Main menu:

1 Resume if (GP3 = 1)
2 set (GP3 = 1)
3 Jump To main movie [chapter 1]

And this cmd seq as target of the subtitle selection button(s) in the subtitle menu:

1. Mov GP2, SPRM8 <--- curently highlighted button into GP2 (for eg.)
2. set subtitle to x if GP2 = x <-- dunno exact command here
3. set subtitle to y if GP2 = y <--- but you get the picture
4. Resume if (GP3 = 1)
5. Jump to main menu (button x) <--- whatever button you wish as default highlight


and as "end action" of the movie (to signify movie is over and to start over from beginning next time you press on Play Movie button):

1. set (GP3=0)
2. Jump to main menu (button x) <--- whatever button you wish as default highlight

You might have to tweak a few commands but the general idea is there. Hope this helps

brucy
26th November 2002, 10:24
Thanks a lot UTec, this is exact what I was looking for :D
It will become a standard feature for all my DVD's ;)
thankx again
Bruce