Index
Next Prev

ChapEditGFD
:

The chapters Editor/Viewer ChapEditGFD.exe can be used as an own application to have a fast view into any Mpeg2 file, as utility for other programs, or started directly from GFD within the video and audio file dialog with a click on 'Visual Chapterditor'.

ChapterLine

The program is primarily to set chapter marks and automatically create suitable screen shots as pictures, or to save a few seconds as clip for animated menus. In addition, it is quite useful as 'fast viewer' (without audio however) or just to save screen shots. ChapEditGFD is capable of Drag&Drop, you can thus drop an MPEG - file simply on the ChapEditGFD icon. Since the program uses the Mpeg2lib DLL, you can use it exclusively for Mpeg2 files only (no transport streams!) and not for Mpeg1 (or Avi, DivX...). The Mpeg2 files can be either elementarily, multiplexed or also Vob files. All timing data (duration of the video, time code of an individual picture) are read from the GOP headers, so that these must be at least sequential (and should start with 0).  This is normally ensured for:
1. New encoded Videos (from TMPGEnc, CCE, MCE, QuEnc...)
2. Demultiplexed streams (from ProjectX, PVAStrumento…) and/or for remultiplexed videos from these elementary streams
3. With Mpeg2Schnitt or Cuttermaran cut Streams/Videos 
4. With DVD Shrink by Re-author created Vob files (these unfortunately do not start with 0 usually)

Critical are rough DVB Streams (whereby these are not suitable for dvdauthor either), since some stations send completely discontinuous time codes in the GOP headers. Such files should always be demultiplexed with ProjectX or PVAStrumento (the time codes are then newly recomputed). If the first GOP header does not begin with 0, ChapEditGFD can use the first found time code as 'virtual zero point' ('Use time offset'). Whether the chapter marks will then 100% fit cannot be guaranteed. Chapter marks can be stored only if the first time code is 0 (or set to zero with 'Use time offset'). Screen shots or clips can nevertheless be always created.


Navigation:
Navigation

One can use either the slider or the arrow buttons to navigate through the video. The bold arrow buttons move one GOP forwards or back, the thinly represented 'right arrow' exactly one picture forward (one picture backwards in not possible unfortunately). Movements with the slider always jump to the nearest GOP header or I-Frame respectively. Since version 0.86 the buttons are autorepeating: If you hold down the button for more than 0.3 seconds, the movie scrolls (single frame or I-frame). With 'Play' the video is played with the appropriate frame rate (as good as possible - depends on the speed of your computer). During play all other buttons are deactivated. 

ScaleRGB:
Since MPEG videos are in the YCrCb color space, and this does not cover all RGB colors, you can rescale the picture to a (gamma corrected) RGB picture with ScaleRGB (always on by default). This does not have any effects (just as Crop) if you save clips. 

Crop:
Mostly videos have black borders (because of over scan). These are rather bothering for screen shots, and can be cut off with Crop.  If you have set up 'Autocrop' in GFD, these crop settings are automatically used. You can set the Crop values with the ... button:
CropSettings    or   crop2
With the scrollbars you can set the range which should be cut off exactly. The resulting size is indicated as "final image size".  In the preview window the cut off range is shown either in black or (most times better to adjust) in white (default). The Aspect ratio of the final image is also shown (may be useful to keep the aspect for the image in GfD). If you have selected to save clips, you may transfer the current crop settings to GFD (-->GFD sets the autocrop parameters in the GFD default settings. REMARK: The check box 'AutoCrop' is not automatically set, only the values for cropping are transferred).
Create CropSUP
If you capture movies from television, often 16:9 material is sent in 4:3 aspect ratio with black bars. Within these black bars somtimes logos or commercials are shown. ChapEditGFD is able to create a Subpicture stream with 'additional' black bars to 'mask' these out. For the Subpicture stream the current crop values (upper and lower only) are used. The subpicture is repeated each 2 seconds, if you rewind or skip chapters, max. 2 seconds the subpicture is 'invisible'. The subpicture stream is created in the SUP format, within the full 'allowed' area (X,Y=0,2 to 719,574 or 719,477 for NTSC). You can use it in any authoring program that supports SUP subtitles (ifoedit, MuxMan and GfD of cause). The used palette assumes the first color to be black (which is the default in GfD and also for many other SUP palettes).

Save Images/Clips (with or without chaptermarks) or chapter marks only
Save Current
You may save either pictures (Images) or video clips with a given number of seconds. If you have started ChapEditGFD out of GFD, the default depends if you have set animated menus on or off.  The pictures are saved as BMP files (if desired RGB scaled and cropped - see above) in the output directory. The current output directory is shown in the title border of ChapEditGFD as OutDir =...  Normally the same directory is used, where the MPEG file is stored. If this directory is on a DVD or CD drive, then the start directory of ChapEditGFD is used. You can set also a special output directory when starting ChapEditGFD with the command line parameter:  /outdir=... If ChapEditGFD is started from GFD, then always the (output directory) from the GFD default settings is used. Video clips are always saved with the extension 'VOB', even if elementary video stream are used (this extension has the fewest problems with the Avisynth filter mpegsource). The settings for ScaleRGB, Crop and pictures vs. clips apply both to manual storing with 'Save ...' and also for the automatic methods (see below). Clips can be started only with a GOP, therefore the 'Save ...' button is grayed out, if you have moved with single frame or Play to another picture. Screen shots (images) can be stored nevertheless, however no chapter mark can be created. The file name of the picture or the clip is formed from the video file name and the current time code. Using the default settings (both 'Mark only' and 'No Mark' are deactivated), 'Save ...' always stores the actually shown picture, or a clip which starts at the actually shown picture (the text on the 'Save...' button will change according to your selected save options). If you are at a GOP header, a chapter mark is created and saved automatically in the file:  'videofilename_celltimes.txt'. If 'No Mark' is activated, no chapter mark is created (then the filename of the image/clip will include a '_NC_'). If 'Mark only' is activated, only chapter marks (no images or clips) are saved to the list and the chapters file. 'Mark only' and 'No Mark' are mutually exclusive; you cannot activate both, but you can deactivate both. If  'Save as 00:00:00.000' (or another timecode, see below) is checked in addition to 'No Mark', you may save an image or clip at any position as 'videofilename_00_00_00.000.bmp/vob' to avoid the (often boring black) start frame.
If 'No Mark' is active and you click on a specific chaptermark in the list, the timecode of this checkbox changes to the code of the selected chaptermark. This way you can save an image/clip from any position for the selected chaptermark:
chapedit6.png

Naming conventions:
chaplist
If your video is named "Film1.mpg", these files are produced:  Film1_00_00_00.000.bmp or Film1_00_00_00.000.vob Film1_00_00_10.480.bmp or Film1_00_00_10.480.vob
... 
as well as the chapter file:  Film1_Celltimes.txt

If you double click on a time mark in the chapter list, ChapEditGFD automatically jumps to that position.

Delete
To delete a chapter again, mark the line in the chapter list and click on 'Delete Chapter'. If a picture or clip file according to the above mentioned convention exists, it is also deleted.

Single Field only:
For videos with interlaced frames, it may be better to use a single field only. Look at this example:
Interlaced picture1
It can hardly be recogniced as part of a face...
The same image saved with activated option 'Single Field only':
Interlaced image2
This looks at least a litte bit better. The disadvantage is that you loose half the resolution and therefore the image looks more 'blocky'.

Automatic chapter creation




Three different methods are provided:

1. Evenly distributes a certain number of chapters over the film
 (Create # Chapters)

2. Create all X minutes a chapter
 (Create a Chapter for each # minutes)


3. Chapter list by file or from clipboard (e.g. of a finished DVD)
This 'GO!' button should also be used if the chapter timings are taken over from GFD

The two first methods are very simple: Enter the number of chapters (or the number of minutes between them) and clicks on Go!  (computation is the same as in GFD). 

If you import a chapter list from a file or from the clipboard, this list is shown in a second list box first. This applies also if a chapter list is given by a command line parameter (like from GFD) and no chapter file named 'videofilename_celltimes.txt' exists.


Also in this list box you can double click on a time code to jump to this position (useful to recheck the chapters). In addition you can delete individual entries. If the list is ok, use Go!  (the 'Go!' within the 'Get File/Clipboard' frame) to start the chapter creation (or actually the picture/clip creation). 

IMPORTANT:  All automatic methods delete an already existing chapter list, but not already existing pictures or clips. In addition all automatic methods create chapter marks and a chapter file even if "No Mark" is activated. But a previously with 'Save as 00:00:00.000' saved image/clip will be overwritten.

If ChapEditGFD was started from GFD, the saved chapter list is automatically loaded into GFD when terminating ChapEditGFD.