reframe
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
reframe — horizontal to vertical 9:16
Turns 16:9 footage into subject-tracked 1080x1920 vertical video. Runs in WSL2 Ubuntu (GPU: RTX 4050).
Engine 2 — verthor (primary, verified)
Scene-aware reframe: PySceneDetect → YOLOv11-seg + ByteTrack → MediaPipe face/pose + saliency → smoothed virtual-camera pan/zoom → ffmpeg encode. Emits 1080x1920 H.264 with audio intact.
Run (from a FILE — never pipe the script in):
wsl -- bash /mnt/c/Users/agentuser/source/agent-skills-toolchain/skills/reframe/scripts/reframe.sh IN.mp4 OUT.mp4 preset
- Run the script from a file, NOT
... | bash: verthor/mediapipe read stdin, so a piped script gets consumed and corrupts after the verthor line. If you see a\rparse error, normalize once:wsl -- bash -lc "sed -i 's/\r//g' <script>". - Paths are WSL paths: Windows
D:\x.mp4→/mnt/d/x.mp4. <preset>:talking_head(default) |sports|pets|cars.- Or invoke verthor directly:
wsl -- bash -lc "source ~/.local/share/reframe/verthor/bin/activate && cd /mnt/d/tools/reframe/verthor && python -m verthor <IN> <OUT> --preset talking_head --saliency-model handcrafted --video-encoder libx264"
Safety / pinned choices (do not change):
--saliency-model handcraftedALWAYS. NEVERdeepgazemr(loads remote model via torch.hub = RCE risk).--video-encoder libx264(deterministic; NVENC auto-degrades on stock ffmpeg).- verthor pinned
33ac38d; venv at~/.local/share/reframe/verthor(WSL).
Engine 1 — claude-shorts (comparison, see references/engines.md)
Acceptance
Setup (one-time, already done on this machine)
04 同仓库更多 Skills
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.
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.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files