REC 00:00:00;00
screencast-mcp Tools Workflows Connect GitHub ↗

SCREENCAST-MCP / TOOLS / EDIT

Timeline Edit

timeline

Edit several clips as one timeline in one render: a main track of videos and stills (in/out points, per-clip pipeline steps, a transition into each), overlay layers on upper tracks, and audio tracks at times (ducked if asked). Saves a .timeline.json to re-render with fromSpec.

editwritesdestructivesince next release

00:00PARAMETERS
NameTypeDescription
clipsobject[]The main track, in order. at least 1 items, at most 50 items
clips[].file requiredstring
clips[].innumber ≥ 0
clips[].outnumber > 0
clips[].durationnumberStills: seconds to show it (default 3). > 0, ≤ 3600
clips[].stepsobject[]pipeline steps for this clip, on its own clock after in/out. at most 30 items
clips[].transitionobjectInto this clip from the one before: an xfade name (fade, dissolve, wipeleft, ...) or cut.
clips[].transition.type requiredstring
clips[].transition.duration requirednumber > 0, ≤ 5
clips[].gainnumber ≥ -60, ≤ 24
clips[].muteboolean
overlaysobject[]Upper tracks: layers as in the pipeline overlay step (file, x, y, start, end, keyframes, ...), on the timeline's clock. at most 8 items
audioobject[] at most 10 items
audio[].file requiredstring
audio[].at requirednumber ≥ 0
audio[].innumber ≥ 0
audio[].outnumber > 0
audio[].gainnumber ≥ -60, ≤ 24
audio[].duckbooleanDip under the main audio.
widthinteger > 0, ≤ 9007199254740991
heightinteger > 0, ≤ 9007199254740991
fpsnumber > 0, ≤ 120
quality"draft" | "standard" | "high"
encodeobjectCodec, encoder, rate control and container for the result.
encode.codec"h264" | "hevc" | "av1" | "vp9" | "prores"
encode.encoder"auto" | "cpu" | "nvenc" | "qsv" | "amf"
encode.crfinteger ≥ 0, ≤ 63
encode.bitratestring
encode.maxBytesintegerSize target; sets the bitrate. ≥ 100000, ≤ 9007199254740991
encode.container"mp4" | "mov" | "mkv" | "webm"
encode.audioCodec"aac" | "opus" | "pcm"
encode.audioBitratestring
encode.pixFmt"yuv420p" | "yuv422p" | "yuv444p" | "10bit"
fromSpecstringRe-render a .timeline.json; given fields replace its.
dryRunboolean
outputstringOutput path; default SCREENCAST_HOME/edits.
overwritebooleanReplace an existing output.
00:05A MINIMAL CALL
timeline {}

The required arguments only, with placeholder values. Everything else takes its default.

00:10WHAT COMES BACK

Structured content (structuredContent), alongside a text summary:

FieldType
durationSec alwaysnumber
clips alwaysobject[]
clips[].file alwaysstring
clips[].start alwaysnumber
clips[].length alwaysnumber