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

SCREENCAST-MCP / TOOLS / EDIT

Compress Video

compress

Re-encode a video smaller (H.264 CRF ladder, optional width cap). For a platform target use export_preset.

editwritesdestructivesince v0.3.0

00:00PARAMETERS
NameTypeDescription
input requiredstringPath to the source video.
level"light" | "medium" | "heavy"CRF 23 / 28 / 32 (default medium).
maxWidthintegerWidth cap in px (only downscales). > 0, ≤ 9007199254740991
outputstringOptional output path. Defaults under SCREENCAST_HOME/edits.
overwritebooleanAllow replacing an existing file at the output path (default false).
00:05A MINIMAL CALL
compress { "input": "recording.mp4" }

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

00:10WHAT COMES BACK

Structured content (structuredContent), alongside a text summary:

FieldTypeDescription
outputPath alwaysstringPath of the file written.