Skip to main content
Glama

ffmpeg_convert

Convert video and audio files between formats like MP4, MKV, WebM, MP3, and WAV. Adjust resolution, video codec, and audio codec for compatibility.

Instructions

Convert video/audio to a different format.

Args: file_path: Path to the input media file output_format: Target format (e.g., mp4, mkv, webm, mp3, wav) scale: Optional resolution scale (e.g., "1280:720", "1920:-1" for auto height) video_codec: Optional video codec (e.g., libx264, libx265, libvpx-vp9) audio_codec: Optional audio codec (e.g., aac, mp3, opus) Returns: Path to the converted file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
output_formatYes
scaleNo
video_codecNo
audio_codecNo

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