Skip to main content

Set Track Titles

FFmpeg Builder: Set Track Titles

This flow element will set track titles based on a formatter in the FFmpeg builder

Type

The type of tracks to have their titles set

tip

If you use 'Both' and use formatters only available to one type, eg 'channels' in a subtitle, this will just be removed

Formatter

A format string used to construct the new title

FormatterDescriptionAudioSubtitle
langThe tracks language in plain English, or original Language value if unknown
lang-iso1The tracks language as ISO 639-1
lang-iso2The tracks language as ISO 639-2
lang!Same as lang but upper case
lang-iso1!Same as lang-iso1 but upper case
lang-iso2!Same as lang-iso2 but upper case
!langSame as lang but lower case
!lang-iso1Same as lang-iso1 but lower case
!lang-iso2Same as lang-iso2 but lower case
codecThe codec the track is using (default to upper case)
!codecThe codec the track is using in lower case
`!codec!The codec the track with no casing changes from input
codec-ccThe commerical name of the codec the track is using
!codec-ccThe commerical name of the codec the track is using in lower case
codec-cc!The commerical name of the codec the track is using in upper case
defaultDefault if this is a default track otherwise will be omitted
forcedForced if this is a forced track otherwise will be omitted
channelsMono, Stereo or the number of channels with 1 decimal place, eg 4.0,5.1, 7.2
bitrateThe bitrate of the track, eg 128Kbps
samplerateThe sample rate of the track, eg 44.1kHz
sdhSDH if this is track original contained SDH in the language or title
ccCC if this is track original contained CC/Closed Captions in the language or title
closedcaptionsClosed Cpations if this is track original contained CC/Closed Captions in the language or title
hiHI if this is track original contained HI/Hearing Impaired in the language or title
hearingimparedHearing Impared if this is track original contained HI/Hearing Impaired in the language or title
danger

Be aware the bitrate or samplerate may be the original values of the input file.


Outputs

  1. Track titles updated in FFmpeg Builder
  2. No track titles were effected

Examples

FormatterValueNotes
lang / codec / channelsEnglish / AC3 / 5.1Audio Track
lang / codec / channelsEnglish / SUBRIPSubtitle Track
lang / codec / forced / channelsEnglish / AC3 / 5.1Audio Track cannot be forced
lang / !codec / channels / forcedEnglish / subrip / ForcedSubtitle Track that is forced
Track: lang / codec / channels / default / bitrate / samplerateTrack: English / AAC / Stereo / Default / 128Kbps / 44.1kHzSubtitle Track that is forced