Ffmpeg_python_mcp
@mabh111111
Ffmpeg_python_mcp について
这是一个基于 Model Context Protocol (MCP) 的 FFmpeg 视频音频处理服务器。该项目为 AI 助手提供了强大的视频和音频处理能力,包括格式转换、切割合并、特效添加等功能,支持硬件加速处理。
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"ffmpeg-processor": {
"command": "uv",
"args": [
"run",
"python",
"/path/to/ffmpeg_python_mcp/main.py"
],
"cwd": "/path/to/ffmpeg_python_mcp"
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Ffmpeg_python_mcp?
Ffmpeg_python_mcp is a Model Context Protocol (MCP) server that integrates FFmpeg with AI assistants. It provides powerful video and audio processing capabilities—format conversion, cutting, merging, effects, and hardware acceleration—designed for developers who want to give their AI tools direct media manipulation abilities.
How to use Ffmpeg_python_mcp?
Ensure Python 3.12+, FFmpeg, and the uv package manager are installed. Clone the repository, run uv sync to install dependencies, then start the server with uv run mcp dev main.py or uv run python main.py. For AI clients like Claude Desktop, add the server configuration to the client’s JSON config file (command: uv run python main.py, working directory: project root, protocol: stdio).
Key features of Ffmpeg_python_mcp
- Full video/audio processing: convert, cut, merge, compress
- Hardware acceleration support (Intel QSV, NVIDIA NVENC)
- Asynchronous concurrent processing for parallel task execution
- Streaming support: M3U8 merging and live stream handling
- Video effects: watermark, GIF conversion, speed change
- AI-friendly interface using the standard MCP protocol
Use cases of Ffmpeg_python_mcp
- Extract audio from a video and convert it to a desired format
- Cut a segment or merge multiple video files into one
- Convert video or audio between formats with codec and quality options
- Add watermarks, resize videos, or create animated GIFs
- Process streaming media by merging M3U8 manifests into MP4 files
FAQ from Ffmpeg_python_mcp
What dependencies are required to use Ffmpeg_python_mcp?
You need Python 3.12 or later, FFmpeg installed on your system (via Homebrew, apt, or the FFmpeg website), and the uv package manager.
How do I configure Ffmpeg_python_mcp with Claude Desktop?
Edit the Claude Desktop configuration file – ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows – and add an entry under mcpServers with command uv, args ["run", "python", "/path/to/ffmpeg_python_mcp/main.py"], and the working directory set to the project root.
What hardware acceleration is supported?
The server supports Intel Quick Sync Video (QSV) and NVIDIA NVENC hardware encoding. It includes a check_hardware_acceleration() function and an option to convert video using QSV (convert_video_with_qsv).
What transport protocol does the server use?
The server communicates via the stdio protocol, as shown in the MCP client configuration examples.
Is there a limit on concurrent tasks?
The server supports asynchronous concurrent processing, allowing AI assistants to call multiple tools in parallel, with claimed batch performance improvements of 3–5 times. No explicit task limit is stated in the README.
「その他」の他のコンテンツ
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Servers
modelcontextprotocolModel Context Protocol Servers
コメント