User Tools

Site Tools


Generic Mpeg encoder


Encodes to MPEG 1 or MPEG 2 format.

Wrapper : MPG, MPV, MOV, M2V,
MPEG audio layer 2
MPEG audio layer 3

Original Manual

A generic MPEG1/2 video and audio encoder.


Sets the MPEG format. Note that MPEG1 is not recommended anymore but is implemented for reference.

Video size

This option will scale the output video to the defined size. At default FFAStrans will take the input width and height variables of the source video and apply it to scaling.

Note: Interlaced aware scaling are automatically taken care of.

Display aspect

Sets the display aspect (DAR) on the output media.

Pixel aspect

Sets the pixel aspect (PAR) on the output media.


Sets the resizing method for how the source should fit to the output size.

Stretch will stretch the source to fit regardless of aspect.

Fit will fit the entire source within the output size and keep aspect. This might cause letterboxing or curtains.

Fill will make sure the output is filled with source image while keeping aspect.

Video range

Sets the video range of the output.

Same as source implies no change and the encoder will forward the range from the input.

Set to full/limited will just set the video range metadata.

Convert to full/limited will convert the input to set value. If input range is same as output no converion is being performed.

Color space

Enables you to define what color space the output will be.

Same as source implies no change and the encoder will use same color specs as input.

Apply LUT or automatic tone mapping

Enables using a LUT in the conversion. This option also support using a custom by setting using a variable representing the full path to a .cube file. Variables representing any of the available inbuilt LUTs is also supported.

None implies no LUTs are being used in the conversion.

Auto (LUT) will try to analyze the input file and the desired out color space and apply the corresponding LUT for it.

Auto (Tone mapping) will convert using tone mapping algorithm instead of a static LUT.


Force a different framerate than the input media. Default is to use the same as source.

Interlaced input

With this option you can choose how FFAStrans processes incoming media to the encoder. The "Analyze"option will determine from the actual video, not meta-data.

Video bitrate (kb/s)

Sets the bitrate of the video.

Field order

Sets the field order of the video.


Sets the encoding level of the MPEGencoder.

Note: Only MPEG2 supports the levels option.


Selects the encoding profile of theMPEG encoder.

Note: Only MPEG2 supports the profile option.


Sets the desired output colorspace.

Set start TC

This option field sets the start timecode of the video. By default FFAStrans will use the %s_start_tc% variable from the source video but can be changed to other variables or just static timecodes.


Sets container type for output media.

Discrete tracks

Sets the number of audio tracks/streams of the output file. One track can have one ore more channels.

Source channels as tracks

This setting will distribute all source audio channels into discrete mono channels.

Same as source

This settings will make FFAStrans try and create the exact same layout as the original media.

Total channels

Sets the total amount of channels the output file holds. The channels are evenly distributed among the available discrete tracks defined. Regardless of the original layout, all audio channels are mapped to separate audio sources. Based on this, FFAStrans will map these sources to match selected audio configuration.. If the audio source has fewer channels than the output then the rest will be filled with silent audio.

If you select "Custom channel mapping" in the "Total channels" drop-down, FFAStrans will enable setting custom mapping per audio track:

Set custom mapping

This will open a separate window displaying all discrete track selected in the "Discrete tracks" drop-down.

For usage and how to configure press the "?" button in the "Custom audio mapping" window.

Audio codec

Sets the codec used for audio encoding.

Audio bitrate (kb/s)

Sets the bitrate of the audio stream(s).

Sample rate

Sets the sample rate of all audio streams.

Conform volume

Use this to conform volume level to specified level. For this to work you MUST have a variable table from a previous analyze in the "Loudness"-node. You can also use this option to normalize audio by using the peak levels from "Loudness"-node. Maximum level is 0 dB.

Custom x264 options

Lets you specify you own x264 options not available in the GUI. Custom options will override all other GUI options if there's a conflict. The notation is the exact same as the-x264opts/-x264-params ffmpeg options. Please refer to the ffmpeg documentations for usage.

2020/09/27 14:35
processors/encoder_gen_mpeg.txt · Last modified: 2021/10/31 17:46 by benjamin