audio-extract-mix
Use when extracting, mixing, replacing, ducking, loudness-normalizing, muxing, or analyzing a video or clip audio track with ffmpeg.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- audio-extract-mix
- description
- Use when extracting, mixing, replacing, ducking, loudness-normalizing, muxing, or analyzing a video or clip audio track with ffmpeg.
03 SKILL.md 正文
audio-extract-mix
Extract / mix / replace / duck / loudness-normalize audio on a clip, the way the Reframe media_studio sidecar actually does it. Every command below is copied from real source — no invented flags.
Source modules (read these for ground truth)
sidecar/media_studio/features/audiomix.py—audiomix.merge(duck→mix→loudnorm)audiomix.normalize(loudnorm only). Ownsbuild_mix_filter,build_mix_argv,build_loudnorm_argv,PLATFORM_LOUDNESS,resolve_loudness_target.
sidecar/media_studio/features/tracks_audio.py—tracks.audio.{list,mux,replace,strip}. Ownsbuild_mux_argv,build_replace_argv,build_strip_audio_argv,probe_streams,original_tracks_from_probe.sidecar/media_studio/features/audio_saliency.py— PANNs CNN14 audio tagging + pure RMSloudness_curve. Ownscompute_audio_signals,peak_windows,sample_windows, the decode argv in_default_audio_loader.sidecar/media_studio/ffmpeg.py— the shared seam:ffmpeg_path/ffprobe_path(resolve binary by absolute path),run(argv-list Popen, both pipes drained,-progressparsing, cooperative cancel),ffprobe_duration(drives the progress %).
The whole module follows one law (audiomix.py docstring, CONTRACTS §4/§6/§7):
argv LISTS only, never shell=True; the filter graph and every path is a
single argv element; the ffmpeg binary is resolved by absolute path; both stdout
and stderr are drained by the shared run. Keep that when you hand-run these.
Recipe 1 — Mix a music bed / VO UNDER speech with sidechain ducking + loudnorm
Recipe 2 — Loudness-normalize an export (no bed)
Per-platform LUFS targets (PLATFORM_LOUDNESS, audiomix.py:67-80)
Recipe 3 — Extract / decode audio to raw samples
Recipe 4 — Mux / replace / strip an audio track (preserve everything else)
Pitfalls that actually bite
GPU / HF-model notes (audio_saliency only)
Worked example: lay a -10 dB music bed under a TikTok clip at -14 LUFS
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