
bitscorp-mcp/mcp-ffmpeg
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
bitscorp-mcp/mcp-ffmpeg は [https://github.com/bitscorp-mcp/mcp-ffmpeg.] からインポートされた MCP サーバーの候補です
概要
bitscorp-mcp/mcp-ffmpeg は [https://github.com/bitscorp-mcp/mcp-ffmpeg.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
FFmpegを使用してビデオファイルを操作するNode.jsサーバー。 このサーバーは、API を以下に提供します。
- 異なる解像度にビデオをリサイズ(360p、480p、720p、1080p)
- さまざまなフォーマット(MP3、AAC、WAV、OGG)でビデオからオーディオを抽出する
前提条件
このアプリケーションを実行する前に、次のインストールが必要です。
1.Node.js (v14以上) 2。 FFmpeg - 映像処理に必須です。
##FFmpegのインストール
macOSの####:
Ubuntu/Debianの####:
Windowsの####:
- 公式サイトからFFmpegをダウンロード
- ファイルをフォルダーに抽出(例、[
C:\ffmpeg]) - PATH環境変数に[
binフォルダを追加
インストール
-
このリポジトリをクローンする:
-
依存関係を取付けて下さい:
##Smitheryでインストールする
スミサリーを介して自動的にクロードデスクトップ用のmcp-ffmpegをインストールするには:
サーバーの実行
サーバを起動します。
ファイル変更の自動再起動による開発:
##Smitheryでインストールする
スミサリーを介して自動的にクロードデスクトップ用のmcp-ffmpegをインストールするには:
Cursor 用の mcp-ffmpeg をインストールするには、設定 -> カーソル設定 -> 特長 -> MCP サーバー -> + 追加する
Type: コマンドを選択し、 Adjust から API キーを使用して、以下を貼り付けます
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP FFmpeg Video Processor
A Node.js server that uses FFmpeg to manipulate video files. This server provides APIs to:
- Resize videos to different resolutions (360p, 480p, 720p, 1080p)
- Extract audio from videos in various formats (MP3, AAC, WAV, OGG)
Prerequisites
Before running this application, you need to have the following installed:
- Node.js (v14 or higher)
- FFmpeg - This is required for video processing
Installing FFmpeg
On macOS:
brew install ffmpeg
On Ubuntu/Debian:
sudo apt update
sudo apt install ffmpeg
On Windows:
- Download FFmpeg from the official website
- Extract the files to a folder (e.g.,
C:\ffmpeg) - Add the
binfolder to your PATH environment variable
Installation
- Clone this repository:
git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg
- Install dependencies:
npm install
Installing via Smithery
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude
Running the Server
Start the server with:
npm start
For development with auto-restart on file changes:
npm run dev
Installing via Smithery
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude
To install mcp-ffmpeg for Cursor, go to Settings -> Cursor Settings -> Features -> MCP Servers -> + Add
Select Type: command and paste the below, using your API key from Adjust
npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpeg
Using with Claude Desktop
This MCP FFmpeg server can be integrated with Claude Desktop to process videos through natural language requests.
Running with npx
You can run the server directly with npx:
npx /path/to/mcp-ffmpeg
Or if you’ve published the package to npm:
npx mcp-ffmpeg
Configuring Claude Desktop
To add this server to Claude Desktop, update your Claude Desktop configuration file:
-
Locate your Claude Desktop config file:
- macOS:
~/.config/claude-desktop/config.jsonor~/Library/Application Support/Claude Desktop/config.json - Windows:
%APPDATA%\Claude Desktop\config.json - Linux:
~/.config/claude-desktop/config.json
- macOS:
-
Add the FFmpeg MCP server to the
mcpServerssection:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}
If you’ve published the package to npm:
{
"mcpServers": {
インストール
npx --yes /absolute/path/to/mcp-ffmpeg設定
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}