Ffmpeg

17 tools. 16 can modify or destroy data without limits.

16 write tools that can modify data. Rate limits recommended.

Last updated:

16 can modify or destroy data
1 read-only
17 tools total

Community server · catalogue entry verified 30/06/2026

How to control Ffmpeg ↓

What Ffmpeg exposes to your agents

Read (1) Write / Execute (16) Destructive / Financial (0)
High Risk

The most dangerous Ffmpeg tools

16 of Ffmpeg's 17 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Ffmpeg

PolicyLayer is an MCP gateway — it sits between your AI agents and Ffmpeg, and nothing reaches the server without passing your rules. These are the rules we recommend:

Rate limit write operations
{
  "add_audio": {
    "limits": [
      {
        "counter": "add_audio_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "probe": {
    "limits": [
      {
        "counter": "probe_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Ffmpeg — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON FFMPEG →

Instant setup, no code required.

All 17 Ffmpeg tools

WRITE 15 tools
Write add_audio Add or replace audio track in video. Mix with original audio or replace entirely. Write compress Compress video to reduce file size using CRF-based H.264/H.265 encoding. Control quality vs size trade-off. Write convert Convert media between formats (e.g., MP4→MKV, AVI→MP4, WAV→MP3, MOV→MP4). Supports custom codecs. Write crop Crop video to a specific region. Specify width, height, and position offset. Write extract_audio Extract audio track from video file. Supports MP3, AAC, WAV, FLAC, OGG output formats. Write frames Extract frames from video as image sequence (JPG/PNG/BMP). Control extraction rate with FPS parameter. Write merge Concatenate multiple media files into one. Supports same-codec fast concat or cross-codec re-encoding. Write resize Change video resolution/scale. Specify width and height (-1 for auto aspect ratio). Write rotate Rotate video (90°/180°/270°) or flip (horizontal/vertical mirror). Write speed Change playback speed of video and audio (0.25x slow-mo to 4x fast forward). Write subtitle Add subtitles to video - burn into video (hardcode) or add as selectable soft track. Supports SRT, ASS, VTT. Write thumbnail Generate thumbnail image(s) from video at a specific time or evenly spaced throughout. Write trim Cut/trim a segment from media file by specifying start time and end time or duration. Uses stream copy (fast, Write volume Adjust audio volume level or normalize audio loudness (EBU R128 standard). Write watermark Add image or text watermark to video. Supports position control (corners/center) and opacity.

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Ffmpeg

How do I prevent bulk modifications through Ffmpeg? +

The Ffmpeg server has 15 write tools including add_audio, compress, convert. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Ffmpeg.

How many tools does the Ffmpeg MCP server expose? +

17 tools across 3 categories: Execute, Read, Write. 1 are read-only. 16 can modify, create, or delete data.

How do I enforce a policy on Ffmpeg? +

Register the Ffmpeg MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Ffmpeg tool call.

Deterministic rules across all 17 Ffmpeg tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

17 Ffmpeg tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.