ffmpeg
Use when processing video or audio with FFmpeg — transcoding, format conversion, filters, HLS/DASH packaging, thumbnails, batch operations. Also use for standalone video processing outside the video-pipeline workflow.
| Model | Source |
|---|---|
| sonnet | pack: video |
Full Reference
┏━ 🔧 ffmpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Video/audio processing — transcode, filter, ┃ ┃ stream, batch, probe ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
FFmpeg
Section titled “FFmpeg”FFmpeg 7.x — the Swiss Army knife for video/audio. Decodes, filters, encodes, muxes. Runs everywhere. Install: brew install ffmpeg (macOS) or apt install ffmpeg.
Quick Reference
Section titled “Quick Reference”| Item | Value |
|---|---|
| Current Version | 7.1 (Dijkstra) |
| Install (macOS) | brew install ffmpeg |
| Install (Linux) | apt install ffmpeg |
| Probe a file | ffprobe -v quiet -print_format json -show_streams input.mp4 |
| Convert any format | ffmpeg -i input.mkv output.mp4 |
| Copy streams (no transcode) | ffmpeg -i input.mp4 -c copy output.mkv |
| Hardware accel (macOS) | -c:v h264_videotoolbox or -c:v hevc_videotoolbox |
Reference Index
Section titled “Reference Index”| I want to… | File |
|---|---|
| Understand streams, codecs, containers, -map, ffprobe | core-concepts.md |
| Transcode H.264/H.265/VP9/AV1/ProRes, set CRF, use hardware accel | transcoding.md |
| Apply video/audio filters, build filter chains with -filter_complex | filters.md |
| Package HLS/DASH, adaptive bitrate ladders, live streaming | streaming.md |
| Batch transcode, concat, extract thumbnails, parallel encoding | batch-operations.md |
| Debug errors, fix codec issues, tune performance | troubleshooting.md |
Usage: Read the reference file matching your task. Each file has copy-pasteable commands with correct current syntax.