Skip to main content
Glama

ffmpeg_compress

Compress video files to reduce size while controlling quality, resolution, and encoding speed. Specify quality level, scale resolution, and encoding preset for optimized output.

Instructions

Compress a video file to reduce file size.

Args:
    file_path: Path to the input video file
    quality: Compression quality level - "low" (smallest file), "medium", or "high" (best quality)
    scale: Optional resolution scale (e.g., "1280:720", "1920:-1" for auto height)
    preset: Encoding speed preset - faster presets = larger files, slower = smaller files

Returns:
    Path to the compressed file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
qualityNomedium
scaleNo
presetNomedium

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinwatt/ffmpeg-mcp-lite'

If you have feedback or need assistance with the MCP directory API, please join our Discord server