Has Subtitles
Tests if the FFmpeg Builder model contains subtitle tracks matching the specified languages and type.
Unlike Video Has Stream, this checks the current FFmpeg Builder model. So it sees changes made by earlier FFmpeg Builder flow elements, such as subtitles that were removed, converted, generated or translated.
Use it to only run a flow element when it is needed. For example, only run the Image Subtitle Converter when image subtitles exist, or only run the Subtitle Generator when there are no English subtitles.
Configuration
Languages
The languages to look for. A track matches if it is in any of the selected languages.
Leave empty to match any language. Tracks without a language set only match when this is left empty.
Type
The type of subtitle to look for.
| Value | Description |
|---|---|
Any | Any subtitle track |
Text | Text-based subtitles, such as SRT, ASS, WebVTT or mov_text |
Image | Image-based subtitles, such as PGS or VobSub |
Include Deleted
When enabled, subtitle tracks that earlier flow elements marked as deleted are also checked. Default is false.
Outputs
- The FFmpeg Builder model has matching subtitle tracks.
- The FFmpeg Builder model does not have matching subtitle tracks.