FFmpeg Docs
Context: $ARGUMENTS
Quick start
- Find a filter / option: → Step 2 (
search --query <term>) - Read the full section for a filter: → Step 3 (
section --page ffmpeg-filters --id <anchor>) - Grab an entire doc page: → Step 4 (
fetch --page <name>) - Prime cache for offline use: → Step 5 (
index)
When to use
- User asks "what does
-Xdo in ffmpeg?" or "what are the parameters for filter Y?" - Need to verify a flag name exists before recommending it (prevents hallucinated options).
- Need the exact option table for a muxer / demuxer / protocol / device.
- Need to cite the canonical ffmpeg.org URL in a response.
- Before writing any non-trivial ffmpeg command, check the current doc for the filter/option you're about to use.
Step 1 — Know the page catalog
The script only works against a fixed list of known ffmpeg.org doc pages. Get the list:
uv run ${CLAUDE_SKILL_DIR}/scripts/ffdocs.py list-pages
Common picks:
| Question | Page |
|---|---|
| "What does filter X do?" | ffmpeg-filters |
| "What are the options for -c:v libx264?" | ffmpeg-codecs |
| "What HLS muxer options exist?" | ffmpeg-formats |
| "What does srt:// accept?" | ffmpeg-protocols |
| "How do I capture with avfoundation?" | ffmpeg-devices |
| "What bitstream filters are there?" | ffmpeg-bitstream-filters |
| "ffprobe output fields?" | ffprobe-all |
| "Expression syntax (eval, if, gt)?" | ffmpeg-utils |
| "Scaler flags?" | ffmpeg-scaler |
| "Resampler options?" | ffmpeg-resampler |