# ffmpeg-mcp
**Repository Path**: chenkunlia/ffmpeg-mcp
## Basic Information
- **Project Name**: ffmpeg-mcp
- **Description**: 从https://github.com/video-creator/ffmpeg-mcp克隆
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: back_up
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-05-21
- **Last Updated**: 2025-05-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# FFmpeg-MCP
Using ffmpeg command line to achieve an mcp server, can be very convenient, through the dialogue to achieve the local video search, tailoring, stitching, playback and other functions
## Support Tools
The server implements the following tools:
- `find_video_path`
The parameters are directory and file name, file name can be complete, or is not suffixed, recursive search in the directory, return the full path
- `get_video_info`
The parameters are video path, return the video info, linkes duration/fps/codec/width/height.
- `clip_video`
The parameter is the file path, start time, end time or duration, and returns the trimmed file path
- `concat_videos`
The parameters are the list of files, the output path, and if the video elements in the list of files, such as width, height, frame rate, etc., are consistent, quick mode synthesis is automatically used
More features are coming
## Installation procedure
1. Download project
```
git clone https://github.com/video-creator/ffmpeg-mcp.git
cd ffmpeg-mcp
uv sync
```
2. Configuration in Cline
```
{
"mcpServers": {
"ffmpeg-mcp": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "uv",
"args": [
"--directory",
"/Users/xxx/Downloads/ffmpeg-mcp",
"run",
"ffmpeg-mcp"
],
"transportType": "stdio"
}
}
}
```
Note: the value:`/Users/XXX/Downloads/ffmpeg` in args need to replace the actual download ffmpeg-mcp directory
## Supported platforms
Currently, only macos platforms are supported, including ARM64 or x86_64