Catalog/ Media/ FFmpeg
Media · stdio · opencode

FFmpeg

Transcode, trim, extract frames.

Available stdio 14 tools

What it does

summary

A vendored wrapper around ffmpeg for audio and video conversion, thumbnails and metadata.

Transcode, inspect and cut audio and video.

Tools

14 documented
FFmpeg tool surface
ToolDescription
media_probe Inspect a media file with ffprobe. Returns container duration/bitrate plus per-stream codec, resolution, fps, channels and sample rate.
transcode Re-encode a video with x264/x265/VP9/AV1, optional scaling and fps change. Use crf for quality (lower = better, 18-28 typical).
trim Cut a section from a video. Stream-copy is fast but snaps to keyframes; reencode is frame-accurate.
concat Join multiple media files in order. Inputs must share codecs/resolution when reencode=false.
extract_audio Pull the audio track out of a video into mp3/aac/opus/wav/flac, or copy it losslessly.
thumbnail Grab a single frame at a timestamp and scale it (useful for posters / social previews).
extract_frames Export frames at a fixed fps and optional width into a directory (for analysis, contact sheets, ML).
burn_subtitles Hard-code an SRT/ASS subtitle file onto the video with a configurable font size.
make_gif Create a high-quality palette-optimized GIF from a video segment.
waveform Render a PNG waveform image from any audio/video file (for podcast/video thumbnails).
change_speed Speed up or slow down video with pitch-corrected audio (0.25x - 4x).
mux_audio Replace a video's audio with another audio file, or add it as a second track.
transcribe_audio Run local Whisper (speaches, no cloud) on an audio or video file. Returns plain text, JSON, SRT or VTT. Use response_format=srt to generate subtitles.
auto_subtitles One-shot pipeline: transcribe with local Whisper, write an SRT next to the output, then hard-code the subtitles into the video.

Install / connect

~/.config/opencode/mcp/ffmpeg-mcp/run.sh

Client-side configuration. Secrets and connection strings belong in your own environment, never in this registry.

Safety

rules

Writes into a configured output directory. The CLI is easier to audit for large jobs.