Skip to main content
Glama

overlay_video

Merge two videos into a picture-in-picture layout using predefined positions or custom offsets. Specify background and overlay video paths, then select desired placement for the foreground video, generating a combined output. Powered by FFmpeg-MCP Server.

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

TableJSON Schema
NameRequiredDescriptionDefault
background_videoYes
dxNo
dyNo
output_pathNo
overlay_videoYes
positionNo

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/video-creator/ffmpeg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server