通过 FFmpeg 让智能体调整视频分辨率,并以 MP3、AAC、WAV、OGG 等格式提取音频。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ffmpeg -- npx --yes /absolute/path/to/mcp-ffmpeg~/.codex/config.toml
[mcp_servers.ffmpeg]
command = "npx"
args = ["--yes", "/absolute/path/to/mcp-ffmpeg"]
# codex mcp add ffmpeg -- npx --yes /absolute/path/to/mcp-ffmpeg~/.cursor/mcp.json
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}.vscode/mcp.json
{
"servers": {
"ffmpeg": {
"type": "stdio",
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}