Skip to main content

Audio Language Converter

FFmpeg Builder: Audio Language Converter

The Audio Language Converter flow element adds new audio tracks for specified languages using your preferred format, bitrate, and channel configuration.

If a matching track already exists in the target format, the system will copy it to preserve quality; otherwise, it will re-encode the track.

Smart Track Placement

Newly created audio tracks are inserted after the last usage of the source audio track.

This logic ensures that if this flow element is executed multiple times (e.g., to create different channel counts for the same language), the tracks remain grouped together. The first conversion is placed directly after the source, and subsequent conversions are placed after the previous one. This prevents new tracks from being scattered at the end of the file or placed after unrelated tracks like secondary commentary.


Configuration

Languages

The list of languages to be added. If a language is not found in the source file, or if the source lacks the required number of channels, no track will be created for that language.

Codec

Select the codec to be used for encoding the new audio tracks.

Channels

Set the number of channels for the new track. If the source has more channels than specified, FFmpeg will automatically perform a down-mix.

  • Automatic: FFmpeg determines the channel count automatically from the source.
  • Same As Source: Matches the channel count of the source track exactly.

Bitrate Per Channel

  • Automatic (Default): Allows FFmpeg to determine the optimal bitrate.
  • Same As Source: Uses the same bitrate as the original source track.

Remove Others

If enabled, all original audio tracks will be removed, leaving only the tracks created by this element.

Note: If no tracks are successfully added, this operation will be skipped to ensure the file is not left without audio.

Codec Override

You can override the default encoder for specific formats by setting a Variable using the naming convention CodecName_Codec.

Example: To use the libfdk_aac encoder specifically for AAC audio:

  • Variable Name: AAC_Codec
  • Value: libfdk_aac

If the variable is unset or invalid, the plugin will fall back to the default system codec.


Outputs

  1. Audio tracks were successfully added to the FFmpeg model.
  2. No audio tracks were added (e.g., matching languages were not found).