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

FormatterDescriptionAudioSubtitleVideo
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
numchannelsThe number of channels with 1 decimal place, eg 1.0, 2.0, 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
fpsThe number of frames per second, with FPS suffix
!fpsThe number of frames per second but fps suffix is lower case
resolutionThe resolution 4K, 1080P, 720P, 480P
!resolutionThe resolution 4k, 1080p, 720p, 480p
dimensionsThe video dimensions {width}x{height} e.g. 1920x1080
pixelformatThe video pixel format in upper case eg P010LE
!pixelformatThe video pixel format in lower case eg p010le
!pixelformat!The video pixel format in original case eg p010le
dynamicrangeThe video dynamic range either HDR or SDR
!dynamicrangeThe video dynamic range in lower case either hdr or sdr
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