Skip to content

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.

ModelSource
sonnetpack: video
Full Reference

┏━ 🔧 ffmpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Video/audio processing — transcode, filter, ┃ ┃ stream, batch, probe ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

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.

ItemValue
Current Version7.1 (Dijkstra)
Install (macOS)brew install ffmpeg
Install (Linux)apt install ffmpeg
Probe a fileffprobe -v quiet -print_format json -show_streams input.mp4
Convert any formatffmpeg -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
I want to…File
Understand streams, codecs, containers, -map, ffprobecore-concepts.md
Transcode H.264/H.265/VP9/AV1/ProRes, set CRF, use hardware acceltranscoding.md
Apply video/audio filters, build filter chains with -filter_complexfilters.md
Package HLS/DASH, adaptive bitrate ladders, live streamingstreaming.md
Batch transcode, concat, extract thumbnails, parallel encodingbatch-operations.md
Debug errors, fix codec issues, tune performancetroubleshooting.md

Usage: Read the reference file matching your task. Each file has copy-pasteable commands with correct current syntax.