Hi - First of all I'd like to thank videohelp.com and all of the experts here. I've been accessing the site for about 9 months and by searching the glossary, forums, tools, etc. have found the answers to many of my questions and problems! Keep up the good work.
I have finally come across a problem that I couldn't find the answer to. Hopefully, someone can help me. Here's what I've done so far (hope I have all the terminology correct):
1)captured analog video on a Pioneer 233 DVD Recorder, the file format is Video_TS
2)ripped the DVD to my hard drive (all I used to do this was Windows Explorer Cut/Paste - which worked fine if I should use something else, please let me know)
3)created a menu in IrfanView using a .jpg file
4)used DGMPGDec to demultiplex the file
- there were 3 .vob files which demultiplexed into 1 .d2v file
5)authored the DVD using DVDAuthorGUI
- there is only 1 title associated with this project
- opened the .m2v file and audio files
- created chapters
- created a mv2 still (from the .jpg file created in IrfanView)
- created buttons on the menu
6 buttons total
5 buttons point to each of the chapters/1 button plays the entire dvd
- authored and saved the project
6)tested the project
- haven't burned a DVD yet
- tested it from the hard drive using Windows Media Player
- works like a charm!!!!
The problem I have is that I want to go back to the main menu, after viewing ONLY THAT CHAPTER, when buttons 2-6 are selected but play the entire dvd, and then go back to the main menu, when button 1 is selected. Right now it is playing the chapter selected, but then continuing with the rest of the dvd before going back to the main menu.
I have downloaded PgcEdit - here are the screen shots.
And finally the code I added which I hoped would send it back to the menu. Obviously, I've coded it incorrectly or placed the code in the wrong area.
I think I've included everything you'll need to help me with this problem. If you need more information, please let me know. Thanks in advance.
+ Reply to Thread
Results 1 to 9 of 9
-
-
Sorry, my images didn't work. I'll post them in a minute.
GB Packers fan for life! Go Pack! -
Originally Posted by woodnbaskets
*** pre commands:
1 (JmpSS) Jump to VTSM 1, Root menu (TTN 1)
*** post commands:
*** cell commands:
VTSM 1, LU 1 (en),1 (0:00) ?b. RootM
*** pre commands:
1 (SetHL_BTN) Set Highlighted Button -(mov) 1024 (button 1)
*** post commands:
1 Set gprm(14) =(mov) gprm(15)
2 Set gprm(15) =(mov) 0
3 if (gprm(14) == 1) then {Goto line 10}
4 if (gprm(14) == 2) then {Goto line 11}
5 if (gprm(14) == 3) then {Goto line 12}
6 if (gprm(14) == 4) then {Goto line 13}
7 if (gprm(14) == 5) then {Goto line 14}
8 if (gprm(14) == 6) then {Goto line 15}
9 Exit
10 (JumpVTS_PTT) Jump to TTN 1, Chapter 1
11 (JumpVTS_PTT) Jump to TTN 1, Chapter 2
12 (JumpVTS_PTT) Jump to TTN 1, Chapter 5
13 (JumpVTS_PTT) Jump to TTN 1, Chapter 4
14 (JumpVTS_PTT) Jump to TTN 1, Chapter 3
15 (JumpVTS_PTT) Jump to TTN 1, Chapter 1
*** cell commands
VTSM 1, LU 1 (en),2 (dummy) ChapterM
*** pre commands:
1 LinkPGCN PGC 1
*** post commands:
*** cell commands:
This is the code I added, and as I said doesn't work.
VTST 1,1 TTN 1 (2:03:19) Title 1
*** pre commands:
1 if (gprm(14) == 2) then {Goto line 8}
2 if (gprm(14) == 3) then {Goto line 8}
3 if (gprm(14) == 4) then {Goto line 8}
4 if (gprm(14) == 5) then {Goto line 8}
5 if (gprm(14) == 6) then {Goto line 8}
6 (CallSS) Call the VTSM Chapter menu of the current VTS, resume cell 1
7 Exit
8 (JumpSS) Jump to VTSM 1, Root menu (TTN 1)
*** post commands
*** cell commands
Thanks for being patient.GB Packers fan for life! Go Pack! -
Struggling to follow this bit:
3 if (gprm(14) == 1) then {Goto line 10}
4 if (gprm(14) == 2) then {Goto line 11}
5 if (gprm(14) == 3) then {Goto line 12}
6 if (gprm(14) == 4) then {Goto line 13}
7 if (gprm(14) == 5) then {Goto line 14}
8 if (gprm(14) == 6) then {Goto line 15}
9 Exit
10 (JumpVTS_PTT) Jump to TTN 1, Chapter 1
11 (JumpVTS_PTT) Jump to TTN 1, Chapter 2
12 (JumpVTS_PTT) Jump to TTN 1, Chapter 5
13 (JumpVTS_PTT) Jump to TTN 1, Chapter 4
14 (JumpVTS_PTT) Jump to TTN 1, Chapter 3
15 (JumpVTS_PTT) Jump to TTN 1, Chapter 1
Also:
1 if (gprm(14) == 2) then {Goto line 8}
2 if (gprm(14) == 3) then {Goto line 8}
3 if (gprm(14) == 4) then {Goto line 8}
4 if (gprm(14) == 5) then {Goto line 8}
5 if (gprm(14) == 6) then {Goto line 8}If in doubt, Google it. -
This section actually works correctly, it's the code that DVDAuthorGUI inserted. The chapters are out of order because of the way the menu is listed (i.e. button 3 does not correspond to chapter 3 but to chapter 5).
I tried putting "my code" in the post commands section, but it froze the menu and nothing worked.GB Packers fan for life! Go Pack! -
Sorry, I didn't explain that very well. I've been working with this for several days now and it's hard to remember all of the litte quirks.
There are 6 buttons, but only 5 chapters. Button 1 plays the entire DVD. Buttons 2 - 5 play chapters 2-5 (but the buttons do not necessarily correspond to the chapter number). Button 6 plays chapter 1 (sort of an intro piece).
Does this make sense?GB Packers fan for life! Go Pack!
Similar Threads
-
Jump to menu is making me mad
By Allfreeware in forum Authoring (DVD)Replies: 0Last Post: 15th Dec 2011, 12:05 -
[help] Jump to specific url after playing wmv video file
By techtonik in forum Newbie / General discussionsReplies: 1Last Post: 17th Jul 2011, 06:23 -
trying to jump over Aspect ratio menu with Pgcedit
By spiritgumm in forum Authoring (DVD)Replies: 3Last Post: 20th Jul 2009, 03:03 -
GfD: how do I jump to chapter 1?
By AlanHK in forum Authoring (DVD)Replies: 2Last Post: 9th Aug 2007, 05:10 -
Dvd Author Ignoring jump chapter n in title pre commands (no errors)
By FallenAngel10 in forum Authoring (DVD)Replies: 0Last Post: 7th Jul 2007, 16:04