Indirect VCD/SVCD/DVD Mode

indirect

this mode is similar to Direct Mode but it doesn't have his limitations. It combines DivX Mode and Direct Mode. In order to select this mode use the same options as Direct Mode plus add -encode and, eventually, other options as for DivX Mode.
Indirect Mode works in this way: it first creates a DivX avi using the options pertinent to DivX Mode, then it uses the avi just created as source video for a Direct Mode pass. The drawback is that this mode is slower, but some tricks can be used to reduce the processing time required.

Options

In this mode there is a difference in the usage of  -ofps and -vfr. The first apply to the avi, the second apply to the mpeg stream. If  -ofps is unspecified it defaults to the same value of -vfr.
The same difference exist in the audio bit rate as argument of -encode and -abr. The first apply to the avi, the second apply to the mpeg stream. 

Suggestions

If you are using Indirect Mode just to overcome the limitations of Direct Mode, discarding then the intermediate avi, you should use -encode with fast 1/2 pass mode.

You can speed up the process with the following tricks (VCD example):

Examples

encode2mpeg -o movie -n p dvd://1 -encode 2 -svcd -mp3 copy -encsid 0 -mpegonly -nosplit -qmatrix tmpgenc -a 3 -aid 128
encode a DVD to PAL SVCD mpeg with tmpgenc quantization matrix. Log File.

encode2mpeg -o realtompeg movie.rm -n n -imageonly -mp2 toolame -mc .1 -vfm realvid -encode 2 -cdi /tmp/CDI -addchapter 15:00-2:00:00
encode a real video to a NTSC VCD using toolame for mp2 encoding. Add to the VCD CD-i compatibility and chapters every 15 minutes. Log file.