AGENT SKILL

video-stabilize

Use when stabilizing a shaky / handheld / camera-shake video so it looks steadied (locked-down or smooth-pan). PRIMARY method = ffmpeg libvidstab TWO-PASS — vidstabdetect (analyze → writes a .trf transforms file) then vidstabtransform (read the .trf → render the steadied clip), with adaptive.

使用场景图像与多媒体
License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
video-stabilize
description
Use when stabilizing a shaky / handheld / camera-shake video so it looks steadied (locked-down or smooth-pan). PRIMARY method = ffmpeg libvidstab TWO-PASS — vidstabdetect (analyze → writes a .trf transforms file) then vidstabtransform (read the .trf → render the steadied clip), with adaptive.

03 SKILL.md 正文

Video stabilization (ffmpeg libvidstab, 2-pass)

Steady a shaky clip. Real implementation lives in media_studio/features/stabilize.py (the 2-pass vidstab engine) with the motion-measurement helper in media_studio/features/motion.py. Both go through the shared drained ffmpeg seam media_studio/ffmpeg.py:run. Every ffmpeg argv below is copied from those modules — nothing here is invented.

When to use vs NOT

USE it when the footage is genuinely shaky: handheld walking, body-cam, drone buffeting, gimbal-less phone video, or any clip whose motion.py energy curve is high and erratic (high-frequency jitter, not a smooth pan).

Do NOT use it when:

  • The camera is on a tripod / locked-down — there is nothing to correct and the adaptive crop only throws away pixels.
  • The motion is intentional: deliberate whip-pans, dolly moves, fast sports action. vidstab will fight the move and produce an uncanny "floaty" result.
  • The shake is rolling-shutter jello (skew/wobble of vertical lines). vidstab models translation + rotation, not per-scanline shear — it will not fix jello and may amplify it. Use a deshake/rolling-shutter tool instead.
  • The frames are motion-blurred from the shake itself. Stabilization re-aligns blurred frames; it cannot un-blur them. Re-shoot.
  • ffmpeg has no libvidstab (see Pitfall 1) — then it is reported as unavailable, the clip is passed through unchanged, never silently "stabilized".

The two passes (this is the whole method)

Exact commands

Tunables (defaults from stabilize.py)

The crop / zoom vs field-of-view tradeoff

Deciding IF a clip needs stabilization (motion.py)

Pitfalls that actually bite

Worked example

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0