Leverages FFmpeg for video format conversion, supporting multiple formats (MP4, AVI, MOV, MKV, WebM, FLV), quality control, and batch processing with customizable parameters like resolution, framerate, and bitrate.
Can be used as a Node.js module to create video conversion functionality with programmatic control over the conversion process.
🎬 Video Convert MCP
🚀 基于MCP协议的高性能视频格式转换工具,支持多种主流视频格式之间的无缝转换
✨ 特性
- 🎯 多格式支持 - 支持MP4、AVI、MOV、WMV、MKV、WEBM、M4V等主流视频格式
- ⚡ 高性能转换 - 基于FFmpeg引擎,转换速度快,质量可靠
- 🔧 灵活配置 - 支持自定义分辨率、码率、帧率等参数
- 📦 批量处理 - 支持批量视频转换,提高工作效率
- 🛡️ 类型安全 - 完整的TypeScript类型定义
- 🔌 MCP协议 - 基于Model Context Protocol,易于集成到AI应用中
📋 系统要求
- Node.js >= 16.0.0
- FFmpeg (需要安装并添加到系统PATH)
FFmpeg 安装指南
Windows:
macOS:
Linux (Ubuntu/Debian):
🚀 安装
全局安装
项目依赖
🛠️ 使用方式
1. 命令行启动
2. 在 Claude Desktop 中使用
在 Claude Desktop 的配置文件中添加:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
3. 在其他 MCP 客户端中使用
任何支持MCP协议的客户端都可以连接到此服务器:
4. 编程方式集成
🔧 支持的格式
格式 | 扩展名 | 描述 | 推荐用途 |
---|---|---|---|
MP4 | .mp4 | 最常用的视频格式 | 网络分享、移动设备 |
AVI | .avi | 经典的视频容器格式 | 桌面播放 |
MOV | .mov | Apple QuickTime格式 | Mac系统、专业编辑 |
WMV | .wmv | Windows Media Video | Windows系统 |
MKV | .mkv | 开源的多媒体容器 | 高质量存储 |
WEBM | .webm | Web优化的视频格式 | 网页播放 |
M4V | .m4v | iTunes兼容格式 | Apple生态系统 |
📖 API 文档
convert_video
转换单个视频文件格式
参数:
示例:
get_video_info
获取视频文件详细信息
参数:
返回:
batch_convert
批量转换视频文件
参数:
💡 使用示例
基本转换
将MP4文件转换为AVI格式:
高质量转换
转换为高质量的MKV格式:
批量转换
将多个视频文件批量转换为WEBM格式:
获取视频信息
🎯 质量预设说明
预设 | 描述 | 适用场景 |
---|---|---|
low | 低质量,文件小 | 快速预览、网络传输 |
medium | 中等质量 | 日常使用、社交分享 |
high | 高质量 | 专业用途、长期存储 |
ultra | 超高质量 | 专业制作、无损转换 |
🔧 开发
环境设置
项目结构
🤝 贡献
欢迎提交Issue和Pull Request!
- Fork 项目
- 创建特性分支 (
git checkout -b feature/AmazingFeature
) - 提交更改 (
git commit -m 'Add some AmazingFeature'
) - 推送到分支 (
git push origin feature/AmazingFeature
) - 打开Pull Request
📄 许可证
本项目基于 MIT 许可证开源。
🙏 致谢
- FFmpeg - 强大的多媒体处理框架
- Model Context Protocol - 优秀的协议标准
- fluent-ffmpeg - FFmpeg的Node.js封装
📞 联系方式
如有问题或建议,欢迎联系:
微信: pickstar_loveXX
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A professional video format conversion tool based on MCP protocol that supports multiple formats, batch processing, and quality control for video files.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that provides multiple file conversion tools for AI agents, supporting various document and image format conversions including DOCX to PDF, PDF to DOCX, image conversions, Excel to CSV, HTML to PDF, and Markdown to PDF.Last updated -15PythonMIT License
- AsecurityFlicenseAqualityAn MCP server designed to work with FFmpeg for media processing tasks, offering enhanced performance and secure communication for handling media processing requests.Last updated -21412TypeScript
- AsecurityAlicenseAqualityAn MCP server providing video processing capabilities through FFmpeg, enabling dialog-based local video search, trimming, concatenation, and playback functionalities.Last updated -767PythonMIT License
- AsecurityFlicenseAqualityA comprehensive Model Context Protocol (MCP) server that provides 39 professional image processing tools including basic operations, geometric transformations, color adjustments, filter effects, and advanced batch processing capabilities.Last updated -39Python