View Full Version : Menu Routing using SPRM14 in DVD Maestro
dvdboy
7th March 2008, 18:12
I'm having a play with reading the display set-up of the player and then routing to a specfic menu. In the test project, everything is 4:3.
This is the command sequence:
1 MOV GP0 , SPRM14
2 Goto Line 5 if (GP0 = 3072)
3 Jump To 43 PAN AND SCAN[#1] if (GP0 = 256)
4 Jump To 43 LETTERBOX[#1] if (GP0 = 512)
5 Jump To 169 WIDESCREEN[#1]
I have 1s of Black as First Play, with this command sequence executed as the end action.
I can get the script to split between 4:3 and 16:9, but not between Letterbox and Pan and Scan.
Any ideas?
Eric69
7th March 2008, 20:36
I think your missing some Go To commands - Try
1 MOV GP0 , SPRM14
2 Goto Line 5 if (GP0 = 3072)
3 Goto Line 6 if (GP0 = 256)
4 Goto Line 7 if (GP0 = 512)
5 Jump To 43 PAN AND SCAN[#1]
6 Jump To 43 LETTERBOX[#1]
7 Jump To 169 WIDESCREEN[#1]
I think...I've never used SPRM 14 so I could be wrong
dvdboy
8th March 2008, 20:16
Thanks Eric, I'll give that a go but I'm not sure if it'll make any difference as I think mine is just neater?
- If I have a value of 3072 then the display is 16:9 and I goto that line.
- If I have a value of 256 I jump to the Pan and Scan menu.
- If not, I go to the next line where I see if I have a value of 512 for the Letterbox version.
- Otherwise I jump to Widescreen.
I've tried this on both a sony player, the ps3 and a pioneer player.
Could it be a Spruce thing because of the abstraction layer?
Has anyone got this to work in Scenarist?
Eric69
9th March 2008, 22:01
After looking at it..your right. I get back to you if I find anything out.
bigotti5
10th March 2008, 10:26
Try to use corresponding bits (8,9) only using binary AND
1 MOV GP0 , SPRM14
2 MOV GP1 , SPRM14
3 AND GP0 , 3072
4 Goto Line 8 if (GP0 = 3072)
5 AND GP1 , 256
6 Jump To 43 PAN AND SCAN[#1] if (GP1 = 256)
7 Jump To 43 LETTERBOX[#1]
8 Jump To 169 WIDESCREEN[#1]
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.