Skip to content
Back to search

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,clip, overlay, concat and other functions

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/video-creator--ffmpeg-mcp/badge.svg)](/listings/video-creator--ffmpeg-mcp)

HTML

<a href="/listings/video-creator--ffmpeg-mcp"><img src="/api/listings/video-creator--ffmpeg-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 76 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # FFmpeg-MCP
  2. 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
  3. <a href="https://glama.ai/mcp/servers/@video-creator/ffmpeg-mcp">
  4. <img width="380" height="200" src="https://glama.ai/mcp/servers/@video-creator/ffmpeg-mcp/badge" alt="FFmpeg-Server MCP server" />
  5. </a>
  6. ## Support Tools
  7. The server implements the following tools: <br/>
  8. - `find_video_path`
  9. 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
  10. - `get_video_info`
  11. The parameters are video path, return the video info, linkes duration/fps/codec/width/height.
  12. - `clip_video`
  13. The parameter is the file path, start time, end time or duration, and returns the trimmed file path
  14. - `concat_videos`
  15. 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
  16. - `play_video`
  17. Play video/audio with ffplay, support many format, like mov/mp4/avi/mkv/3gp, video_path: video path speed: play rate loop: play count
  18. - `overlay_video`
  19. Two video overlay. <br/>
  20. background_video: backgroud video path <br/>
  21. overlay_video: front video path <br/>
  22. output_path: output video path<br/>
  23. position: relative location<br/>
  24. dx: x offset<br/>
  25. dy: y offset<br/>
  26. - `scale_video`
  27. Video scale. <br/>
  28. video_path: in video path <br/>
  29. width: out video width, -2 keep aspect <br/>
  30. height: out video height, -2 keep aspect <br/>
  31. output_path: output video path <br/>
  32. - `extract_frames_from_video`
  33. Extract images from a video.<br/>
  34. Parameters: <br/>
  35. video_path (str): The path to the video.<br/>
  36. fps (int): Extract one frame every specified number of seconds. If set to 0, extract all frames; if set to 1, extract one frame per second.<br/>
  37. output_folder (str): The directory where the images will be saved.<br/>
  38. format (int): The format of the extracted images; 0: PNG, 1: JPG, 2: WEBP.<br/>
  39. total_frames (int): The maximum number of frames to extract. If set to 0, there is no limit<br/>
  40. <br/>
  41. More features are coming
  42. ## Installation procedure
  43. 1. Download project
  44. ```
  45. git clone https://github.com/video-creator/ffmpeg-mcp.git
  46. cd ffmpeg-mcp
  47. uv sync
  48. ```
  49. 2. Configuration in Cline
  50. ```
  51. {
  52. "mcpServers": {
  53. "ffmpeg-mcp": {
  54. "autoApprove": [],
  55. "disabled": false,
  56. "timeout": 60,
  57. "command": "uv",
  58. "args": [
  59. "--directory",
  60. "/Users/xxx/Downloads/ffmpeg-mcp",
  61. "run",
  62. "ffmpeg-mcp"
  63. ],
  64. "transportType": "stdio"
  65. }
  66. }
  67. }
  68. ```
  69. Note: the value:`/Users/XXX/Downloads/ffmpeg` in args need to replace the actual download ffmpeg-mcp directory
  70. ## Supported platforms
  71. Currently, only macos platforms are supported, including ARM64 or x86_64

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.