Mpeg mode

mpeg

this mode is very similar to DivX mode, but the output is an mpeg stream instead of an avi stream. The output video stream can be mpeg1 (VCD), mpeg2 (SVCD/DVD) or a copy of the imput mpeg video stream. The output audio stream can be mp2, mp3, ac3, lpcm  or a copy of the input audio stream.  This mode is selected with the options: -mpeg.

A more detailed view fo the first block is showed below:



Here is a detailed explanation of the block diagram:
If the output of MEncoder is a single mp2/mp3 audio track the block diagram looks a little bit different:



This time no avi audio file is created, there is no need for it. The audio stream is anyway processed again as in Direct mode. This step is, generally, redondant, but some times you could need it.

If you choose a single mp2/mp3 audio track, the output of MEncoder is already a valid mpeg stream. With the option -fast the block diagram become:



You cannot use -fast if the mpeg stream will be processed by dvdauthor. The mpeg stream created by MEncoder doesn't have DVD NAV (VOBU) packets multiplexed in. You need to multiplex with mplex.

Options

As for Indirect mode, in mpeg mode you can use all the options of DivX mode and Direct mode, except that the following options are meanless in mpeg mode:
-avisplit
-vbitrate (use -vbr)
-setaspect
-fixavi
The following options are not working at this moment in mpeg mode:
-split
-p
The following options are only available in mpeg mode:
-mpegmbr (set the maximum bit rate)

Usage

Mpeg mode has been introduced in version 0.3.0. Tests with the different options are ongoing for this mode. The results will be available in the future.

Examples

encode2mpeg -o DVD dvd://1 -dvd -mpeg -imageonly -encode 0:0:1 -ac3 copy -n n -multiaudio 128,129,130 -addchapter copy
Copy the video and three audio streams from a DVD to a DVD. Usefull if the original DVD doesn't fit on a DVD5 and the copyed stream does. Log file.

encode2mpeg -o DVD5 dvd://1 -dvd -mpeg -encode 0:2:1 -ac3 copy -n n -mpegmbr -a 3 -usesbr 4480 -aid 128
Encode a DVD (with copy of one audio stream) to a DVD5. Log file.