Skip to content

Codec and Language Reference

simonefil edited this page Oct 11, 2026 · 3 revisions

Codec and language reference

Lookup tables for the values you type in RemuxForge: languages, audio codec names and episode matching patterns.

Language codes

Language fields accept a language name, for example Italian or Japanese, or a code. RemuxForge turns every form into the three-letter ISO 639-2 code it writes into the files:

You type RemuxForge uses
Italian, italiano ita
it (ISO 639-1) ita
ita (ISO 639-2) ita
it-IT (IETF tag) ita

The whole ISO 639-2 list is accepted. The most common codes:

Code Language Code Language
ita Italian pol Polish
eng English tur Turkish
jpn Japanese swe Swedish
spa Spanish nor Norwegian
fra French dan Danish
deu German fin Finnish
por Portuguese hun Hungarian
rus Russian ces Czech
zho Chinese ell Greek
kor Korean ron Romanian
ara Arabic nld Dutch
hin Hindi heb Hebrew

Special codes:

Code Meaning
und Undefined, the usual value of untagged tracks
mul Several languages
zxx No spoken content

Bibliographic codes

Some languages have a second, bibliographic ISO 639-2 code: ger, fre, chi, dut, gre, cze, rum, alb, arm, baq, bur, geo, ice, mac, mao, may, per, slo, tib, wel. RemuxForge reads each one as its terminological code (ger as deu, fre as fra, and so on), in your fields and in the tracks of the files. A filter for deu therefore also finds a track tagged ger.

IETF tags in Metadata

Metadata mode also edits the *_language_ietf fields, which hold IETF tags such as it, it-IT, en-US, pt-BR. Some players read this field first, so it can be set separately from the ISO 639-2 language. See Metadata reference.

Audio codec names

The audio codec fields of the Remux wizard, and the matching CLI options, accept these names and aliases, separated by commas. Upper and lower case are the same, and spaces, hyphens and colons are ignored: DTS-HD MA, DTS HD MA and dtshdma are one name.

Dolby

You type Selects
AC3, AC-3, DD AC-3
EAC3, E-AC-3, DD+, DDP E-AC-3
TRUEHD TrueHD
MLP MLP
ATMOS TrueHD and E-AC-3, the two formats that carry Atmos

DTS

You type Selects
DTS DTS core
DTS-HD DTS-HD Master Audio and DTS-HD High Resolution
DTS-HD MA, DTS-HDMA DTS-HD Master Audio
DTS-HD HR, DTS-HDHR DTS-HD High Resolution
DTS-ES DTS-ES
DTS:X, DTSX DTS:X

Other formats

You type Selects
FLAC FLAC
PCM, LPCM, WAV PCM
ALAC ALAC
AAC, HE-AAC AAC
MP3 MPEG Audio, MP3
MP2 MP2, MPEG Audio Layer 2
OPUS Opus
VORBIS Vorbis

Tips:

  • For the lossless track of a Blu-ray, use DTS-HD MA, or DTS-HD for both HD variants; DTS selects the core format.
  • For the TrueHD Atmos track alone, use TRUEHD.

Lossless and lossy

The Metadata field audio_quality reads lossless or lossy, from the format and from the compression mode MediaInfo reports. DTS-HD Master Audio, DTS-HD High Resolution, TrueHD, PCM, LPCM, ALAC, APE, MLP, FLAC and WavPack count as lossless, together with any track MediaInfo marks as lossless. A Metadata rule on audio_quality therefore covers every lossless format at once.

Episode matching patterns

Remux pairs Source and Lang files through an episode ID read from each file name with the Matching pattern, a regular expression applied ignoring upper and lower case. The parts in brackets are the captured groups: the ID is the groups joined with _. A pattern without groups uses the whole matched text. Two files pair when their IDs are identical.

Default: S(\d+)E(\d+)

Pattern Example name ID
S(\d+)E(\d+) Show.S01E05.1080p.mkv 01_05
(\d+)x(\d+) Show.1x05.mkv 1_05
[Ss](\d+)[ ._-]?[Ee](\d+) Show S01 E05.mkv 01_05
[Ee]p(?:isode)?[ ._-]?(\d+) Episode 105.mkv 105
- (\d+) [Group] Show - 105 [1080p].mkv 105
(\d+)v\d Show - 105v2.mkv 105
(\d{3}) 105.mkv 105

Tips for patterns that pair every episode:

  • Use the same digits on both sides. IDs compare as text, so S01E05 (01_05) and S01E5 (01_5) are different episodes. Align the names with Advanced rename, or adjust the pattern.
  • Anchor the number. (\d{3}) on Show.1080p.105.mkv captures 108 from 1080p. Tie the number to a separator, a prefix or a suffix, as in \.(\d{3})\.mkv.
  • Check that the pattern fits both releases. The Files and matching step lists each pair with its status, so after changing the pattern Reread files and tracks shows the result immediately.

Split times and names

Split time formats, naming variables and default file names are listed in Split wizard and File names. The command-line forms are in CLI. The video codecs that Split can cut on the exact frame, with the re-encode settings of each one, are in Split wizard.

Next

Clone this wiki locally