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
Formatter | Description | Audio | Subtitle | Video |
---|---|---|---|---|
lang | The tracks language in plain English, or original Language value if unknown | ✅ | ✅ | ✅ |
lang-iso1 | The tracks language as ISO 639-1 | ✅ | ✅ | ✅ |
lang-iso2 | The 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 | ✅ | ✅ | ✅ |
!lang | Same as lang but lower case | ✅ | ✅ | ✅ |
!lang-iso1 | Same as lang-iso1 but lower case | ✅ | ✅ | ✅ |
!lang-iso2 | Same as lang-iso2 but lower case | ✅ | ✅ | ✅ |
codec | The codec the track is using (default to upper case) | ✅ | ✅ | ✅ |
!codec | The codec the track is using in lower case | ✅ | ✅ | ✅ |
`!codec! | The codec the track with no casing changes from input | ✅ | ✅ | ✅ |
codec-cc | The commerical name of the codec the track is using | ✅ | ✅ | ✅ |
!codec-cc | The 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 | ✅ | ✅ | ✅ |
default | Default if this is a default track otherwise will be omitted | ✅ | ✅ | |
forced | Forced if this is a forced track otherwise will be omitted | ✅ | ||
channels | Mono , Stereo or the number of channels with 1 decimal place, eg 4.0 ,5.1 , 7.2 | ✅ | ||
numchannels | The number of channels with 1 decimal place, eg 1.0 , 2.0 , 4.0 ,5.1 , 7.2 | ✅ | ||
bitrate | The bitrate of the track, eg 128Kbps | ✅ | ||
samplerate | The sample rate of the track, eg 44.1kHz | ✅ | ||
sdh | SDH if this is track original contained SDH in the language or title | ✅ | ||
cc | CC if this is track original contained CC/Closed Captions in the language or title | ✅ | ||
closedcaptions | Closed Cpations if this is track original contained CC/Closed Captions in the language or title | ✅ | ||
hi | HI if this is track original contained HI/Hearing Impaired in the language or title | ✅ | ||
hearingimpared | Hearing Impared if this is track original contained HI/Hearing Impaired in the language or title | ✅ | ||
fps | The number of frames per second, with FPS suffix | ✅ | ||
!fps | The number of frames per second but fps suffix is lower case | ✅ | ||
resolution | The resolution 4K , 1080P , 720P , 480P | ✅ | ||
!resolution | The resolution 4k , 1080p , 720p , 480p | ✅ | ||
dimensions | The video dimensions {width}x{height} e.g. 1920x1080 | ✅ | ||
pixelformat | The video pixel format in upper case eg P010LE | ✅ | ||
!pixelformat | The video pixel format in lower case eg p010le | ✅ | ||
!pixelformat! | The video pixel format in original case eg p010le | ✅ | ||
dynamicrange | The video dynamic range either HDR or SDR | ✅ | ||
!dynamicrange | The 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
- Track titles updated in
FFmpeg Builder
- No track titles were effected
Examples
Formatter | Value | Notes |
---|---|---|
lang / codec / channels | English / AC3 / 5.1 | Audio Track |
lang / codec / channels | English / SUBRIP | Subtitle Track |
lang / codec / forced / channels | English / AC3 / 5.1 | Audio Track cannot be forced |
lang / !codec / channels / forced | English / subrip / Forced | Subtitle Track that is forced |
Track: lang / codec / channels / default / bitrate / samplerate | Track: English / AAC / Stereo / Default / 128Kbps / 44.1kHz | Subtitle Track that is forced |