AGENT SKILL

audio-extractor

Extract mono 16kHz PCM WAV audio from a video for downstream energy/silence analysis.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
audio-extractor
description
Extract mono 16kHz PCM WAV audio from a video for downstream energy/silence analysis.

02 资源文件 1

03 SKILL.md 正文

Steps

  1. Run the extractor script:
    python3 /root/.claude/skills/audio-extractor/scripts/extract_audio.py \
      --video data/input_video.mp4 \
      --output /root/audio.wav
    
    • Optional: --sample-rate (default 16000), --duration (seconds, default full video).
  2. Confirm the WAV exists and is non-empty (e.g., ls -lh /root/audio.wav).

Expected Result

A readable WAV file at the requested path (mono, 16kHz, PCM s16le) suitable for energy calculation.

04 同仓库更多 Skills