Digital Video Forums  

Go Back   Digital Video Forums > Disc Formats > DVD Authoring and Editing

LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 26 Apr 2010, 06:10 PM   #1
Junior Member
Junior Member
Join Date: Apr 2010
Posts: 2
Default Muxman: keeping track of chapter changes in the menu

I'm using Gui For DVDAuthor (with Muxman as muxing engine) to create audio compilations; in the titleset menu I'd like to update the highlighted button according to the current track whenever the user returns to the VTS menu.

I have a few questions that most probably somebody skilled in Muxman can answer quite easily:
a) using the cell command in the Muxman script I can specify an action; in my case I set a GPRM to store the track number for updating the menu; unfortunately, the action seems to be triggered only when the cell finishes, so if the user skip track using the remote the current track number is not updated; is there a solution, such as a "pre" command similar to what is available in a menu?
b) does adding a cell command for every track (which is simply a Mov of a direct value into a GPRM register) break the seamless playing? I'm doing mostly concerts, so most of the times I do not want to hear a gap between chapters;
c) what is the limit to the number of lines of code (number of instructions) in the pre/post section of a menu? I heard there is a limit, but I can't find what is it. The problem is connected to the same issue I'm trying to solve, because when I select a track I store the track number in the GPRM and then jump to the corresponding title/chapter, and this cannot be done as a single command associated to the menu - so I create a series of if/jumps in the Post section of the menu; does it make any difference using longer or shorter labels for the GoTo instruction?

Thank you!
simon72 is offline   Reply With Quote
Old 26 Apr 2010, 07:11 PM   #2
Not a god of digital video
blutach's Avatar
Join Date: Oct 2004
Location: is everything!
Posts: 24,627

First, this editing is easiest to do with PgcEdit (no need to remux).

There is no need to set a cell command for every track (and yes, that would make each cell non-seamless). When you press menu, save the title and chapter number in a register. Push the title number, multiply it by 256 and or the chapter number (or if there's only one title, just push the chapter number). Then test the chapter number and go to the correct program, PGC or whatever, selecting the correct button number in the process.

But even easier is to use wencaS's chapter commands program (see here). This puts all the right commands in the chapter menu for you (it is implicit that you are using PgcEdit).

And finally, there is a maximum 128 commands per PGC.


Essential progs - [PgcEdit] [VobBlanker] [MenuShrink] [IfoEdit] [Muxman] [DVD Remake Pro] [DVD Rebuilder] [BeSweet] [Media Player Classic] [DVDSubEdit] [ImgBurn]

Media and Burning - [Golden Rules of Burning] [Media quality] [Fix your DMA] [Update your Firmware] [What's my Media ID Code?] [How to test your disc]
[What's bitsetting?] [Burn dual layer disks safely] [Why not to burn with Ner0] [Interpret Ner0's burn errors] [Got bad playback?] [Burner/Media compatibility]

Cool Techniques - [2COOL's guides] [Clean your DVD] [Join a flipper] [Split into 2 DVDs] [Save heaps of Mb] [How to mock strip] [Cool Insert Clips]

Real useful info - [FAQ INDEX] [Compression explained] [Logical Remapping of Enabled Streams] [DVD-Replica] [Fantastic info on DVDs]

You should only use genuine Verbatim or Taiyo Yuden media. Many thanks to for their supply and great service.

Explore the sites and the programs - there's a gold mine of information in them

Don't forget to play the Digital Digest Quiz!!! (Click here)

blutach is offline   Reply With Quote
Old 26 Apr 2010, 09:53 PM   #3
Junior Member
Junior Member
Join Date: Apr 2010
Posts: 2

Thank you for your reply, Blutach.

What I would like to achieve is highlighting the button in the menu corresponding to the chapter that was playing when the user pressed the menu button on the remote. Let's say we have a VTS1 with 10 chapters; the user selects the 1st chapter; the music starts playing. At chapter #3, the user presses Menu on the remote; I would like to return him to the menu with the 3rd chapter button highlighted. By using the cell command I can update a GPRM and use it upon return; this strategy works if the user does not push next/previous track buttons, because the cell command is executed only when the cell/chapter ends and that's the reason why I was studying different strategies. The fact that the program becomes non-seamless makes my method less appealing, for the reason I already mentioned in my first post. In your experience, have you ever tried burning a DVD with (Mov GPRMx, y) as cell commands in a context where a discontinuity would be easily detected? I'm just wondering, because it seems to me that copying a value to a register should not be such a great burden on the DVD microcontroller to cause a gap in the reproduction...

How does the rule "128 commands per PGC" applies to menu? You mean the commands in both Pre and Post menu (the sum of these commands)?

simon72 is offline   Reply With Quote
Old 26 Apr 2010, 11:39 PM   #4
Not a god of digital video
blutach's Avatar
Join Date: Oct 2004
Location: is everything!
Posts: 24,627

128 total in pre, post and cell commands.

The procedure I outlined in post 2 gets you to exactly you want to be. No need for cell commands and therefore seamless playback is retained.

Having a cell command means the cell must be non-seamless. This is a standard. The player stops, executes the command and does what it's told. It's as good as going out of the PGC.


Last edited by blutach; 26 Apr 2010 at 11:48 PM
blutach is offline   Reply With Quote


muxman menu cell command

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Music to Main Menu/Track Menu ironman2632 TMPGEnc 3 17 Sep 2006 02:52 PM
New muxman releases - Muxman 0.15 (free) and 0.17 RC2 (advanced/subscriber) blutach DVD Authoring and Editing 1 26 Jan 2006 12:04 AM
Keeping Menu`s Mexman DVD Blank Media, Burning, Recording Hardware 32 27 Mar 2003 03:16 AM
Keeping track of movies cbloss General Discussions 1 24 Mar 2002 08:32 PM

All times are GMT +10. The time now is 05:43 AM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit