Chapters
chaptersAdd scene markers, transcript sections, or custom timestamped entries to MP4/MKV/MOV copies without re-encoding, and return YouTube timestamp text; optionally mux SRT subtitles.
Instructions
Write chapters (markers, scene changes, transcript, or a list) into an mp4/mkv/mov copy without re-encoding; returns YouTube chapter text. Can mux an SRT as soft subtitles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | markers (default; add_marker, else the file's chapters), scenes (screen changes), or transcript (SRT sections). | |
| input | No | Path to the video. | |
| output | No | Optional .mp4/.mkv/.mov path. Defaults under SCREENCAST_HOME/edits. | |
| chapters | No | Or explicit { start, title } chapters. | |
| textOnly | No | Return chapters and YouTube text only; write no file. | |
| overwrite | No | Allow replacing an existing output file. | |
| sessionId | No | Or a stopped recording's id. | |
| subtitles | No | Also mux this .srt/.vtt/.ass as a soft subtitle track. | |
| transcript | No | The .srt for from: transcript. | |
| minChapterSec | No | Shortest chapter (default 1; scenes 10, transcript 30). | |
| subtitleLanguage | No | ISO 639-2, e.g. "eng". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| youtube | Yes | ||
| chapters | Yes |