PDA

View Full Version : How to resume movie after going to another VTS?


NuPogodi
10th October 2006, 14:08
Well, i'm searching for a way to restore all the movie settings(e.g. the last used audio- & substream, chapter & position/time) after visiting another VTS (and playing it back).

Audio & subs are known to be stored in SPRM1,2 and may easily be recovered. So, the question is related to the last played chapter (i.e. changing SPRM7 by pre/postcommands) and/or the timer value (SPRM9,10?). I'd like RESUME to work in the same way as before visiting another VTS. Is it possible (in principle / in practice)? Thanks...

dgoodbourn
11th October 2006, 10:05
You'd be able to resume to the current chapter with the correct audio/subs setup, but only from a button on the menus and NOT the resume button on the remote (resume or menu or title on the remote).

Although thinking about it... you could possibly go to a dummy title with nothing in it after the other title, then when you resume (by any means) it'll go to that dummy title where you could then set the audio/subs and goto the correct chapter. Not really sure you can go to the correct timecode though. You could possibly have a lot of cells (not programs/chapters) and go to the current cell?

Cheers,
D.

NuPogodi
11th October 2006, 11:47
You'd be able to resume to the current chapter with the correct audio/subs setup, but only from a button on the menus and NOT the resume button on the remote (resume or menu or title on the remote).
Absolutely... i did ask about the command sequence which could be related to a button within the self-authored menu, rather than RESUME-button in remote.
Although thinking about it... you could possibly go to a dummy title with nothing in it after the other title, then when you resume (by any means) it'll go to that dummy title where you could then set the audio/subs and goto the correct chapter.
Long before, I did this trick with audio & subs (SPRM1, SPRM2) and it works perfectly. I just stored these values into the user-defined registers SPRMs (before leaving current VTS) and restored them (when coming back). The current chapter is SPRM7, but... PGCEdit allows me to read this value and to store it somewehere in GPRM, but it does not allow to write it back. Is SPRM7 "read-only" or, maybe, PGCEdit (i used it to change command sequence) have just incomplete support for existing SPRM-commands?
Not really sure you can go to the correct timecode though. You could possibly have a lot of cells (not programs/chapters) and go to the current cell?Well... if the name corresponds to the function, one needs to play with navigation timer registers (SPRM9 & SPRM10), but due to a lack of proper documentation i did not succeed.

Could anyone share a knowledge about SPRMs (mostly, SPRM7, 9 & 10) and/or provide a link with a proper description? Thanks...

dgoodbourn
11th October 2006, 11:55
All the SPRMs are read-only. With the chaptering, you would have to setup a compare system to jump to a certain program depending on the SPRM7 value you stored before.

I also don't think you'd be able to use the timer functions as again the SPRMs are read-only, so you would only be able to resume to the chapter not the specific timecode.

Cheers,
D.

NuPogodi
11th October 2006, 12:48
All the SPRMs are read-only.I've kept in mind the following: SPRM1&2 could readily be changed by SetSTN, SPRM8 could be changed by SetHL_BTN, but... i didnot find the command to change SPRM7 (and timer, if it is possible at all).

[EDIT]I've read a bit navigation timer (http://www.dvd-replica.com/DVD/setnvtmr.php?p=11) (SPRM9,10), it seems that they have no direct relation to resuming movie...

bigotti5
11th October 2006, 12:57
All the SPRMs are read-only.

Stop - that is definitly wrong

Only SPRM 0,12,14-20 are read-only, SPRM 9+10 is a special case (can be set but not separately)

Other to GPRM they cannot be set directly but with special commands such as
SPRM 1,2.3 -- SetSTN command
SPRM 4 -- JumpTT
SPRM 5 -- VTS_TT
SPRM 6 -- LinkPGCN (in title domain)
SPRM 7 -- LinkPTTN, JumpVTS_PTT
SPRM 8 -- SetHL_BTNN
SPRM 9 + 10 -- SetNVTMR
SPRM 11 -- SetAMXMD

SPRM 9 and 10 are used together.
SPRM 9 can be set from 1 to 65535. Value is decremented by 1 every second. If the value changes to 0 the specified pgc in SPRM 10 is called (only valid within the current title domain).
Navigation timer is resetted if playback passes into a new title or another video title set, timer is paused if playback passes to the video manager domain and is restarted if it returns to the title domain, press pause on remote pauses the navigation timer too.

NuPogodi
11th October 2006, 13:06
SPRM 9 and 10 are used together.
SPRM 9 can be set from 1 to 65535. Value is decremented by 1 every second. If the value changes to 0 the specified pgc in SPRM 10 is called (only valid within the current title domain).
Navigation timer is resetted if playback passes into a new title or another video title set, timer is paused if playback passes to the video manager domain and is restarted if it returns to the title domain, press pause on remote pauses the navigation timer too.
Excellent! Thanks a lot... i'll try to focus on SPRM 9/10.

dgoodbourn
11th October 2006, 13:50
Then here I stand corrected! :stupid: