Log in

View Full Version : DVD looping


frubsen
2nd August 2010, 18:23
Hi all,

I have a DVD with 3 different videos and a menu. When the disc is first entered, the menu appears allowing you to choose which video you want to play.

Each video runs 30 minutes and is essentially a monitor loop. I have edited the IFO so each video will loop itself and the only way to get to to one of the other videos is to hit menu on the remote and select a different one.

Now, what I would like to do, is make it so if I press the 'Next' button on the front of the dvd player, it will go to the next video and start its video loop and continue looping until user intervention etc...

So basically, I want each video to loop itself continuously until either Menu is pressed on the remote, or Next is pressed on the front of the dvd player.

Right now the only way to get to the next piece of video is to go back to the menu. Pressing Next does nothing.

Hopefully this makes sense.

Thanks

Ghitulescu
2nd August 2010, 20:26
You have to put them into the same VTS (like most anime episodes), otherwise you have to create dummy PGCs in VMG. However, there are DVD players that still can jump (Philips).

Alex_ander
3rd August 2010, 08:18
This can be done by edition of a dummy PCG to each title and setting its number as 'next' for the main PGC. That new PGC must have pre-commands leading to a VMGM PGC with jump-to-title pre-command. The same thing can be done for navigation backwards.

r0lZ
3rd August 2010, 08:29
You need to take a different action when the current title reaches its end without user intervention and when the user has pressed the next button.

You can do that only if the title contains an additional dummy chapter. If it's not the case, add a cell with PgcEdit. Use the PGC Editor -> Create New Cell -> Create a new blank VOB cell (with the options Create Cells at the end of the PGC and Create a new program and chapter ticked). Now, you should have at least two chapters in the title: the chapter(s) containing the video, plus a dummy black chapter.

You need to create a cell command on the last real chapter of the title. In the PGC Editor, select the last cell before the tiny cell, and change its cell command number to 1. You need to copy the current post-command that loops the current title to the first cell command, and change the post command to call the next title.

The commands of the title should be something like this. (This is only an example. You may need different commands.)

********** pre commands:
********** post commands:
[30 03 00 00 00 02 00 00] 1 (JumpVTS_TT) Jump to TTN 2 in this VTS
********** cell commands:
[20 07 00 00 00 00 00 01] 1 LinkCN Cell 1

How it works:
When the playback reaches the end of the last chapter containing real video content, its cell command is executed, and the current title is restarted. But if the user presses Next during the playback of the cell, its cell command is skipped, and the playback goes to the dummy chapter. The dummy chapter is played (during approx 0.5 second) and the post-commands are executed. The post-command in my example jumps to TTN 2 in the same VTS. Of course, it should be different for titles 2 and 3.

As Ghitulescu has explained, you cannot jump directly to the next title if the 3 titles are in different VTS. If it's the case, you will have to create dummy PGCs in the VMGM, and the post-command should jump to one of these dummy PGCs, from where you can jump to the target title.

[EDIT: I was writing this when Alex_ander posted his reply. His method is good, but it creates new PGCs in the same title. Therefore, the titles will be considered as "not-one_sequential titles", and they will have several limitations (notably the impossibility to seek to a specific time). My method is more universal, and does not have any limitation. However, my method is more complicated if you want also to be able to use the Prev button to jump to the previous title. Let me know if you need that too.]

frubsen
3rd August 2010, 15:56
Ok so this is what my DVD looks like in PGC edit, each video is in a different VTS.

Basically I want Title 1 to go to Title 2, Title 2 to go to Title 3, and Title 3 to go back to 1, ONLY if you hit the next button, don't care about Prev as theres only 3 titles to cycle through.

So from what I gather, I need to make a dummy PGC in each VTST and basically tell it, if next is pressed, move to the next VTST. Just not sure how to do that. I don't care about being able to seek to a specific time in the video as its just a monitor loop.

Sorry, don't know a whole lot about editing DVD PGC's, I'm more of an encoding guy. heh

But I appreciate all your help.

r0lZ
3rd August 2010, 17:09
You don't have to create new PGCs in the VTSTs.

Create 3 PGCs in the VMGM. (Right-click on any VMGM PGC and select New Dummy PGC.)
Replace the default NOP command in the first new PGC (#15) by:

[30 02 00 00 00 01 00 00] 1 (JumpTT) Jump to Title 1

Repeat for the second and third new dummy PGCs, but modify the title number to jump to title 2 and 3 respectively.

Now, in Titles 1, 2 and 3, do what I've explained in post#3 (create a new cell and the cell command), but replace the post-command by:

[30 08 00 10 01 C0 00 00] 1 (CallSS) Call the VMGM PGC 16, resume cell 1

The PGC number should be 16 for title 1, 17 for title 2, and 15 for title 3, so that they will call the VMGM PGC that jumps to the next title (or the first title for title 3).

BTW, if there are other post commands present in the title PGCs, replace only the Call command (that is probably the last post-command).

That's all.

frubsen
4th August 2010, 01:20
Perfect! worked like a charm...thanks r0lZ!