AGENT SKILL
audio-extractor
Extract audio from a video to a mono 16kHz PCM WAV for downstream energy/silence analysis.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- audio-extractor
- description
- Extract audio from a video to a mono 16kHz PCM WAV for downstream energy/silence analysis.
02 资源文件 1
- 脚本scripts/extract_audio.py1.6 KB
03 SKILL.md 正文
Steps
- Locate the provided input video (for this task:
data/input_video.mp4) and probe duration with ffprobe (use this later for segment clamping/validation):ls -lh data/input_video.mp4 ffprobe -v error -show_entries format=duration -of default=nw=1:nk=1 /path/to/video.mp4 - Run the bundled extractor script from the workspace (do not assume a global
/root/.claude/skills/...path):
Optional flags:python3 audio-extractor/scripts/extract_audio.py \ --video /path/to/video.mp4 \ --output /path/to/audio.wav--sample-rate 16000(default),--duration <seconds>. - If you cannot access the script for any reason, run the equivalent ffmpeg command directly:
ffmpeg -i /path/to/video.mp4 -vn -acodec pcm_s16le -ar 16000 -ac 1 /path/to/audio.wav -y - Confirm the WAV exists and is readable (non-empty; mono; ~16kHz).
Expected Result
A non-empty WAV file (PCM s16le, mono, 16kHz by default) ready for energy-calculator.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
★ 0
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
★ 0
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
★ 0