MCP FFmpeg Video Processor

MCP FFmpeg Video Processor

一个 Node.js 服务器,可以通过自然语言请求实现视频处理,包括将视频调整为不同的分辨率(从 360p 到 1080p)以及提取各种格式的音频(MP3、AAC、WAV、OGG)。

媒体内容处理
访问服务器

README

MCP FFmpeg 视频处理器

smithery badge

一个使用 FFmpeg 来处理视频文件的 Node.js 服务器。此服务器提供以下 API:

  • 将视频调整为不同的分辨率(360p、480p、720p、1080p)
  • 从视频中提取各种格式的音频(MP3、AAC、WAV、OGG)

前提条件

在运行此应用程序之前,您需要安装以下内容:

  1. Node.js (v14 或更高版本)
  2. FFmpeg - 这是视频处理所必需的

安装 FFmpeg

在 macOS 上:

brew install ffmpeg

在 Ubuntu/Debian 上:

sudo apt update
sudo apt install ffmpeg

在 Windows 上:

  1. 官方网站 下载 FFmpeg
  2. 将文件解压到文件夹(例如,C:\ffmpeg
  3. bin 文件夹添加到您的 PATH 环境变量

安装

  1. 克隆此存储库:
git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg
  1. 安装依赖项:
npm install

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 mcp-ffmpeg:

npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude

运行服务器

使用以下命令启动服务器:

npm start

对于开发,在文件更改时自动重启:

npm run dev

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 mcp-ffmpeg:

npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude

要为 Cursor 安装 mcp-ffmpeg,请转到 Settings -> Cursor Settings -> Features -> MCP Servers -> + Add

选择 Type: command 并粘贴以下内容,使用您从 Adjust 获得的 API 密钥

npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpeg

与 Claude Desktop 一起使用

此 MCP FFmpeg 服务器可以与 Claude Desktop 集成,以通过自然语言请求处理视频。

使用 npx 运行

您可以直接使用 npx 运行服务器:

npx /path/to/mcp-ffmpeg

或者,如果您已将软件包发布到 npm:

npx mcp-ffmpeg

配置 Claude Desktop

要将此服务器添加到 Claude Desktop,请更新您的 Claude Desktop 配置文件:

  1. 找到您的 Claude Desktop 配置文件:

    • macOS: ~/.config/claude-desktop/config.json~/Library/Application Support/Claude Desktop/config.json
    • Windows: %APPDATA%\Claude Desktop\config.json
    • Linux: ~/.config/claude-desktop/config.json
  2. 将 FFmpeg MCP 服务器添加到 mcpServers 部分:

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "/absolute/path/to/mcp-ffmpeg"
            ]
        }
    }
}

如果您已将软件包发布到 npm:

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "mcp-ffmpeg"
            ]
        }
    }
}
  1. 重新启动 Claude Desktop 以使更改生效。

Claude 的示例提示

配置完成后,您可以使用如下提示:

使用 ffmpeg MCP 服务器,请将 /path/to/video.mp4 的视频调整为 720p 分辨率。

注意

  • 上传的视频临时存储在 uploads 目录中
  • 处理后的视频和音频文件存储在 output 目录中
  • 服务器的文件大小限制为 500MB

许可证

MIT

推荐服务器

mult-fetch-mcp-server

mult-fetch-mcp-server

一个多功能的、符合 MCP 规范的网页内容抓取工具,支持多种模式(浏览器/Node)、格式(HTML/JSON/Markdown/文本)和智能代理检测,并提供双语界面(英语/中文)。

精选
本地
Hyperbrowser

Hyperbrowser

欢迎来到 Hyperbrowser,人工智能的互联网。Hyperbrowser 是下一代平台,旨在增强人工智能代理的能力,并实现轻松、可扩展的浏览器自动化。它专为人工智能开发者打造,消除了本地基础设施和性能瓶颈带来的麻烦,让您能够:

精选
本地
MCP Web Research Server

MCP Web Research Server

一个模型上下文协议服务器,使 Claude 能够通过集成 Google 搜索、提取网页内容和捕获屏幕截图来进行网络研究。

精选
YouTube Translate MCP

YouTube Translate MCP

一个模型上下文协议服务器,可以通过文字稿、翻译、摘要和各种语言的字幕生成来访问 YouTube 视频内容。

精选
Fetch MCP Server

Fetch MCP Server

提供以各种格式(包括 HTML、JSON、纯文本和 Markdown)获取 Web 内容的功能。

精选
Jina AI

Jina AI

Contribute to JoeBuildsStuff/mcp-jina-ai development by creating an account on GitHub.

精选
Web Research Server

Web Research Server

MCP web research server (give Claude real-time info from the web) - oneshot-engineering/mcp-webresearch

精选
Mcp Server Chatsum

Mcp Server Chatsum

Please provide me with the chat message you want me to summarize and translate into Chinese. I need the text of the message to be able to help you.

本地
MCP Web Research Server

MCP Web Research Server

MCP Web Research Server 通过集成 Google 搜索、捕获网页内容和屏幕截图以及跟踪研究会话,从而能够使用 Claude 进行实时网络研究。

本地
MCP Deep Web Research Server

MCP Deep Web Research Server

一个模型上下文协议服务器,使 Claude 能够执行高级网络研究,具备智能搜索队列、增强的内容提取和深度研究能力。