User Tools

Site Tools


H265/HEVC encoder


Encodes x265 video (HEVC) and AAC audio (MP4, MOV, TS or MKV).

Original Manual

Encoder to support h/x-265 (HEVC) ready for use in YouTube, iPhone, Android and most modern media players..

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 that 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. Supports variables.

Field order

Sets the field order of the video.

Video bitrate (kb/s)

Sets the bitrate of the video.


Sets the encoding level of the x265 encoder.


Selects the encoding profile of the x265 encoder.


Defines how encoding is tuned to match your particular source material


Sets the speed vs. quality preset.


If you want the file to be streamable you must check this option.


Sets the desired output colorspace. Note that HLG an PQ (HDR10) is also supported. If no master display meta-data can be found, PQ will set the SMPTE. 2086 meta-data to P3,G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450) with a min/max luminance of L(10000000,1). This can be overridden by setting custom values in the "x265 option"-section.


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 "Same as source" is selected, FFAStrans will try and use the same audio layout as the source, if it complies with the MP4 muxer.

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.

Sample rate

Sets the sample rate of all audio streams.

Audio bitrate (kb/s)

Sets the bitrate of the audio.

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 x265 options

Lets you specify you own x265 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 -x265-params ffmpeg options. Please refer to the ffmpeg documentations for usage.

2019/12/09 16:19
processors/encoder_h265.txt · Last modified: 2021/10/31 17:47 by benjamin