Starting with batchMux release 1.3, it is possible to define chapters (ptt), programs and cell boundaries for each segment in the DVD compilation.
In addition to the "usual" -cellfr and -celltc switches, that are (starting from release 1.3) adopted to define ONLY cell boundaries, it is now possible to define program boundaries and chapter boundaries by using the -progfr, -progtc, -chapfr, -chaptc switches.

The following constraints hold (consistency checks included in the BatchMux.c code):

// 1.  if present, -celltc and -cellfr switches should NOT be both included;
//     framecount boundaries and NDTC timecode boundaries should be used as
//     alternatives, and should refere to alternative, different assets (files);
// 2.  same constraint holds for -progtc and -progfr, and for -chaptc and -chapfr switches
// 3.  -progtc or -progfr switches are accepted only when -celltc or -cellfr have been
//     already defined and included in the current DVD compilation
// 4.  program points should be a subset of the cell points
// 5.  -chaptc or -chapfr switches are accepted only when -progtc or -progfr have been
//     already defined and included in the current DVD compilation
// 6.  chapter points (in turn) should be a subset of the program points


Some "warning" messages, produced in the previous releases of BatchMux.exe, in case of oddly formatted chapter file assets, have been now reverted to regular (stopping) error conditions: it means that the program is now much less "flexible" about badly formatted cell, program or chapter boundary assets.

CAVEAT! It is important to understand that from release 1.3 it is possible to define up to 255 cells, 99 programs and 99 chapters for each MuxMan segment, supporting the full implementation of the DVD specifications. This is a significant achievement; the disvantage is that it is now NECESSARY to include the cell, program and chapter boundary assets EXPLICITELY. Of course the SAME physical file can be referred as common asset both for cells and for programs and for chapters...

For instance, in case it is wanted a given DVD compilation with a title having the same coincident cell, program and chapter points (defined in the "celltimes.txt" file), the three argument below should be included in the BatchMux initialisation file:

-cellfr "celltimes.txt"
-progfr "celltimes.txt"
-chapfr "celltimes.txt"

In case no chapter asset is provided, the title will have one single chapter defined (starting at the title start point).
In case no program asset is provided, the title will have one single program defined (starting at the title start point).

All of the above concepts are also reported (in a summary) within the BatchMux help screen:

// -[SEGi]celltc timecode_file; optional file containing timecode boundaries
//    for the cells in the hh:mm:ss:ff - 11 char fixed ndtc format
// -[SEGi]cellfr framecnt_file; optional file containing framecount boundaries
//    for the cells in the "usual" CellTimes format - plain frame indexes
// -[SEGi]progtc timecode_file; optional file containing timecode boundaries
//    for the programs in the hh:mm:ss:ff - 11 char fixed ndtc format -
//    program boundaries must be a subset of the cell boundaries;
//    default (no timecode_file) --> 1 SINGLE PROGRAM for the segment
// -[SEGi]progfr framecnt_file; optional file containing framecount boundaries
//    for the programs - plain frame indexes format - program boundaries must
//    be a subset of the cell boundaries;
//    default (no framecnt_file) --> 1 SINGLE PROGRAM for the segment
// -[SEGi]chaptc timecode_file; optional file containing timecode boundaries
//    for the chapters in the hh:mm:ss:ff - 11 char fixed ndtc format -
//    chapter boundaries must be a subset of the program boundaries;
//    default (no timecode_file) --> 1 SINGLE CHAPTER for the segment
// -[SEGi]chapfr framecnt_file; optional file containing framecount boundaries
//    for the chapters - plain frame indexes format - program boundaries
//    must be a subset of the program boundaries;
//    default (no framecnt_file) --> 1 SINGLE CHAPTER for the segment
