Skip to main content
Glama

MCP FFmpeg Video Processor

by bitscorp-mcp

MCP FFmpeg 视频处理器

一个使用 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,请转至“设置”->“Cursor 设置”->“功能”->“MCP 服务器”->“+ 添加”

选择类型:命令并粘贴以下内容,使用来自 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 桌面

要将此服务器添加到 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 以使更改生效。

克劳德的示例提示

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

Using the ffmpeg MCP server, please resize the video at /path/to/video.mp4 to 720p resolution.

笔记

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

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

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

  1. 先决条件
    1. 安装 FFmpeg
  2. 安装
    1. 通过 Smithery 安装
  3. 运行服务器
    1. 通过 Smithery 安装
  4. 与 Claude Desktop 一起使用
    1. 使用 npx 运行
    2. 配置 Claude 桌面
    3. 克劳德的示例提示
  5. 笔记
    1. 执照

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        A Node.js server that provides advanced video and image processing capabilities through the Model Context Protocol, enabling operations like conversion, compression, editing, and effects application.
        Last updated -
        10
        13
        JavaScript
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        A server for downloading, processing, and managing YouTube content with features like video quality selection, format conversion, and metadata extraction.
        Last updated -
        JavaScript
      • A
        security
        A
        license
        A
        quality
        Node.js server implementing Model Context Protocol that enables interaction with TaskWarrior through natural language to view, filter, add, and complete tasks.
        Last updated -
        3
        13
        1
        JavaScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
        Last updated -
        66
        8
        TypeScript
        MIT License
        • Apple
        • Linux

      View all related MCP servers

      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/bitscorp-mcp/mcp-ffmpeg'

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