rostrum

io.github.girishkvs由 GitHub 账号 girishkvs 发布v0.1.0更新于 Nov 2, 2026

Clean up talk recordings: find redos, retakes and dead air, review every cut, render and verify.

已验证STDIO仅桌面效率与工作流媒体与设计

概览

AI 生成的概览

清理演讲录像:找出重录、重说和空白片段,逐条展示拟剪内容供审阅,再用 ffmpeg 渲染并校验。

可以做什么
  • 分析录像:探测源文件、本地转写,并检测口播提示词、重说、重复、停顿、首尾空白、题外话和听不清的语音
  • 审阅剪辑:列出每处剪辑的原因和预计时长,选择保留或剪掉,并微调边界
  • 导入审阅页面保存的决策文件,较新的决策优先
  • 渲染帧精确的拼接结果到带编号的渲染目录
  • 校验最新渲染:时长、画面、音频、解码、拼接点和音画同步
  • 把成片中的时间映射回源文件时间,并查看项目状态与运行环境检查
适用场景
适合处理一次录完、含重来、重说和空白停顿的演讲或活动录像,希望由助手提出并解释剪辑点,在你确认后再渲染和校验。也适合把分段录制的多个文件合成一条时间线。
运行要求
通过 uvx 从 PyPI 包以 stdio 在本地运行。需要 Python 3.11+ 以及 ffmpeg/ffprobe 6.1 或更新版本,放在 PATH 中或用 ROSTRUM_FFMPEG / ROSTRUM_FFPROBE 指定。默认本地语音引擎首次运行会下载约 480 MB 的模型。未声明账号或 API 密钥。
安装前请注意
未审阅剪辑前无法渲染,但 --yes 参数会跳过该检查,且助手技能允许在你确认后直接渲染。源文件不会被修改,输出也不会被覆盖。转写在本机进行;command 引擎可调用外部程序。首次启动可能下载依赖和模型,耗时可能超过宿主等待服务器启动的时限。

安装

在 SourceWeft 中

  1. 打开 控制台中的 rostrum,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

rostrum

Clean up talk recordings, from one video to a whole event, by hand or through your agent. rostrum finds redos, retakes, repeats and dead air, shows you every cut with its reason, then renders with ffmpeg and checks the result. Everything runs on your machine.

[rostrum on a short demo talk: init finds the cuts, the review page adjusts one, then import, render and verify]

A 58-second synthetic demo talk. The terminal shows the real output, trimmed to the main lines.

Recording a talk in one take means restarting sentences, slides and clicks. Cutting those by hand takes hours, and one bad join ruins a clip. rostrum proposes each cut with the evidence behind it, you approve or adjust it, and it renders frame-accurate joins and then verifies sync at every join.

Quick start

bash
uv tool install rostrumrostrum init talk.mp4

pipx install rostrum works too. You also need ffmpeg (winget install Gyan.FFmpeg, brew install ffmpeg, apt install ffmpeg).

init does the whole first pass:

  1. probes the file (or files) and writes rostrum.json with defaults,
  2. transcribes with a local speech engine (the first run downloads the model, about 480 MB),
  3. finds cuts: spoken cues ("redo", "stop", "restart"), retakes, repeats, long pauses, dead air at the start and end, and garbled or untranscribed speech for you to listen to,
  4. writes review.html, where you can play each join, flip keep/cut and nudge edges.

Nothing is cut before you see it.

  • rostrum plan lists every cut and the expected length.
  • render refuses until the cuts are reviewed: with rostrum decide, or by saving from the page and importing that file. --yes skips that check.
  • The page saves <talk>-decisions.json. Importing it never undoes a newer decision: for each cut, the newer one wins.
  • Sources are never modified and outputs are never overwritten.
bash
rostrum plan                       # every cut, its reason, and the expected output lengthrostrum decide <cut-id> keep       # or: cut, with --start/--end to move its edgesrostrum decide --import talk-decisions.json   # apply what you saved from review.htmlrostrum render                     # frame-accurate render into <talk>.rostrum/renders/render-N/rostrum verify --mode full         # checks the newest render: frames, audio, decode, A/V sync at every joinrostrum map 23:30 --from render-1  # a time in the edited video -> the source time

Bare rostrum shows the project status, and rostrum doctor checks your setup.

What to expect

These numbers come from one 60-minute single-take talk, run on CPU only (8 cores, small.en):

  • Speed:
    • first pass: about 11 minutes;
    • render: about 4 minutes;
    • full verify: about 1.5 minutes.
  • Accuracy: against the speaker's final edit, cuts marked auto covered 69% of the removed time, and 95% of what they removed was right to remove. Adding the proposals raised coverage to 90%. Review closes the rest of the gap, which is why it is the default.

Recording for it

  • When you fumble, say "redo" (or "stop", "restart"), pause for a second, and restart from the start of the sentence.
  • Restarting a slide or a click is fine: the bad attempt and your restart look like any other retake.
  • Keep recording. The fewer separate files, the easier the review; several files work as well.

One talk, many files, or a whole event

bash
rostrum init talk-part1.mp4 talk-part2.mp4   # one talk recorded in parts: one timeline, one outputrostrum init talks/                          # one talk per file; *-part1/*-part2 files are grouped

Files join into one talk when their names end in -part1, -part2 and so on (_ or a space works too; set init.partPattern to change it). Every other file is a talk of its own.

Parts are analyzed as one timeline, so a redo that starts at the end of one file and is said again in the next is still caught. An event shares one settings block (engine, cue words, render settings, loudness target, naming) and any talk can override any of it.

Configure everything

Settings are plain JSON in layers, where later wins:

  1. built-in defaults;
  2. ~/.rostrum/config.json, your defaults;
  3. rostrum.json, the event or talk file;
  4. command-line flags.

Every threshold, word list, engine and render option is a key, and the published schema gives your editor autocomplete. rostrum config prints the effective value of every key and where it came from. See examples/rostrum.example.json.

json
{  "$schema": "https://raw.githubusercontent.com/girishkvs/rostrum/main/src/rostrum/schema/rostrum.schema.json",  "defaults": {    "cues":   { "words": ["redo", "stop", "restart"] },    "pauses": { "maxSec": 2.0, "keepSec": 0.5 },    "render": { "crf": 18, "name": "{speaker}-{title}" }  },  "talks": [    { "id": "keynote", "speaker": "Jane Doe", "title": "Keynote", "sources": ["part1.mp4", "part2.mp4"] }  ]}

Each detector has a level:

  • auto: shown with cut pre-selected.
  • propose: shown with keep pre-selected.
  • off: not run.
DetectorFindsDefault
Spoken cues"redo", "stop", "restart"; cuts back to where you restartedauto
Retakesa sentence said again soon after; "said again with a different word" is only proposedauto when the match is strong, otherwise propose
Repeats"now, now", or a restarted phrasepropose
Pausesdead air over maxSec, trimmed to keepSec on each sideauto
Lead-in and lead-outdead air at the start and endauto
Off-talk"is this recording?" and similar asidespropose
Uncleargarbled, hallucinated or untranscribed speechpropose
Fillers"um", "uh"off

Slide-aware checks from your deck are planned for 0.2.

Speech engines

EngineUse
faster-whisperThe default. Local, on CPU or GPU.
commandAny program that prints words JSON, SRT or VTT, such as whisper.cpp or a vendor CLI.
importA transcript you already have.

The command and import engines work without any extra setup. Third-party engines can register through the rostrum.engines entry point, naming a rostrum.engines.SpeechEngine subclass; rostrum builds it as Engine(settings, tools, report). Speech workers size themselves to your CPU and memory (speech.workers: "auto"); set a number to override.

Defaults are English: the small.en model and the cue, filler and off-talk word lists. For another language, set speech.model to a multilingual model such as small, set speech.language, and replace the word lists.

Use it from an agent

Every command except mcp takes --json. rostrum mcp runs an MCP server over stdio; long steps run as jobs that your agent polls.

One-step installs (the MCP server plus the agent skill):

HostInstall
Claude Code/plugin marketplace add girishkvs/rostrum, then /plugin install rostrum@rostrum
Copilot CLIcopilot plugin install girishkvs/rostrum
Gemini CLIgemini extensions install https://github.com/girishkvs/rostrum
Claude DesktopOpen rostrum-<version>.mcpb from the latest release
Cursor[Add rostrum to Cursor]

Or add the server by hand. uvx runs the PyPI package, so there is nothing else to install:

HostAdd the server
Copilot CLI/mcp add, then name rostrum, command uvx, arguments rostrum mcp
Claude Codeclaude mcp add rostrum -- uvx rostrum mcp
VS CodeMCP: Add Server, then Command (stdio), then uvx rostrum mcp
Codex CLI~/.codex/config.toml: [mcp_servers.rostrum] with command = "uvx" and args = ["rostrum", "mcp"]
Gemini CLI, Cursor"mcpServers": { "rostrum": { "command": "uvx", "args": ["rostrum", "mcp"] } } in ~/.gemini/settings.json or ~/.cursor/mcp.json

The first start downloads rostrum's dependencies, which can take longer than a host waits for a server to start. Run uvx rostrum doctor once first.

Then ask: "Clean up talk.mp4 and show me anything you're unsure about." skills/rostrum/SKILL.md tells the agent the rules:

  • show the cuts before rendering;
  • ask about the uncertain ones;
  • import what you saved from the review page when you say so (import_decisions);
  • render only after you say so (the agent then passes confirmed).

mcp-pacemaker can host the server and keep it warm across sessions. Add this entry to ~/.mcp-pacemaker/servers.json; pacemaker reloads the file when it is saved:

json
{ "rostrum": { "command": "uvx", "args": ["rostrum", "mcp"] } }

What verify checks

  • Duration: output length equals the kept time to within one frame.
  • Video: frames are continuous at a constant step.
  • Audio: packets are continuous, with no gaps or overlaps.
  • Decode: a full decode completes with no errors.
  • Joins: timestamps are continuous at every join.
  • A/V offset: measured against the source at the joins, sampled in fast mode and at every join in full mode.

Requirements

  • Python 3.11+ and ffmpeg/ffprobe 6.1 or newer (CI runs 6.1 and 9.0). If they aren't on PATH, set ROSTRUM_FFMPEG / ROSTRUM_FFPROBE, or defaults.tools.ffmpeg / defaults.tools.ffprobe in rostrum.json.
  • Windows, macOS and Linux.

License

MIT

来源:README.md,提交 6bc10c5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 19, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分