FFmpeg-MCP Server

by video-creator
Verified

overlay_video

Merge two videos into a picture-in-picture effect by overlaying one on another. Specify background and foreground videos, output path, position, and X/Y offsets for precise placement.

Instructions

两个视频叠加,注意不是拼接长度,而是画中画效果 参数: background_video(str) - 背景视频文件的路径。 overlay_video(str) - 前景视频文件路径。 output_path(str) - 输出路径 position(enum) - 相对位置,TopLeft=1: 左上角,TopCenter=2: 上居中, TopRight=3: 右上角 RightCenter=4: 右居中 BottomRight=5: 右下角 BottomCenter=6: 下居中 BottomLeft=7: 左下角 LeftCenter=8: 左居中 Center=9: 居中 dx(int) - 整形,前景视频坐标x偏移值 dy(int) - 整形,前景视频坐标y偏移值

Input Schema

NameRequiredDescriptionDefault
background_videoYes
dxNo
dyNo
output_pathNo
overlay_videoYes
positionNo

Input Schema (JSON Schema)

{ "properties": { "background_video": { "title": "background_video", "type": "string" }, "dx": { "default": 0, "title": "dx", "type": "string" }, "dy": { "default": 0, "title": "dy", "type": "string" }, "output_path": { "default": null, "title": "Output Path", "type": "string" }, "overlay_video": { "title": "overlay_video", "type": "string" }, "position": { "default": 1, "title": "Position", "type": "integer" } }, "required": [ "background_video", "overlay_video" ], "title": "overlay_videoArguments", "type": "object" }

You must be authenticated.

Other Tools from FFmpeg-MCP Server

Related Tools

ID: 2zxiyezqfc