Skip to main content
Glama
AbyAbyss

ffmpeg-mcp-video-editor

by AbyAbyss

Mix audio tracks

mix_audio

Mix background music or effects under a primary voice track with automatic ducking and per-track gain/start offsets. Preserves video picture when the primary input is a video.

Instructions

Mix background music or effects under a primary voice track.

Set 'duck' on a track to have it automatically drop in level whenever the voice track is loud, which is what makes music sit under narration without manual level automation. Per-track gain and start offsets are applied before the mix.

If the primary input is a video, its picture is carried through untouched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encodeNo
tracksYesAdditional tracks to mix in.
durationNo'first' ends with the primary track, 'longest' with the longest input.first
voice_pathYesThe primary track — usually dialogue, or a video whose audio leads the mix.
output_pathNo
keep_video_from_voiceNoIf the primary input is a video, carry its picture through unchanged.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
job_idYes
statusNoqueued
messageNoJob queued. Poll job_status for progress, then job_result.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description goes beyond the basic annotations by explaining ducking behavior, the order of operations ('Per-track gain and start offsets are applied before the mix'), and that video from the primary input is passed through untouched. No contradiction with readOnly/destructive hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three brief paragraphs, front-loaded with a clear purpose sentence. Every sentence contributes meaningful information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Core mixing behavior and important edge cases are covered. Remaining details like duration, encode options, and output path are documented in the schema, and an output schema exists, so the description is sufficient for selecting and invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds practical meaning to central parameters: explains 'duck', clarifies gain/start application order, and maps video passthrough to keep_video_from_voice. Schema covers many other fields well, so the description augments rather than repeats.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Mix background music or effects under a primary voice track.' It clearly distinguishes this from sibling tools like concat or overlay by detailing ducking and video passthrough.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It conveys a clear use case—mixing music or effects under narration—and explains when ducking is useful. However, it does not explicitly mention alternative tools or state when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/AbyAbyss/ffmpeg-mcp-video-editor'

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