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 分