Convert Time Text To Time
Parses generic duration text such as 0:05, 12:34, 1:02:03, or 0:05,250 to seconds. Parses generic duration text without SMPTE frame semantics. AUTO_GENERIC accepts M:SS, H:MM:SS, and the matching millisecond forms with ,MS.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
timeText | yes | expression | string | — |
format | no | expression | enum-string | AUTO_GENERIC, M_SS, MM_SS, H_MM_SS, HH_MM_SS, H_MM_SS_MS, HH_MM_SS_MS |
Notes
No additional notes are available yet.
Examples
Import YouTube Chapter Text As Sequence Markers
Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.
Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments
Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json