所有工具

video_reframe

屏幕、窗口与界面 · macOS · Windows

效果: 写入. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

围绕焦点将视频裁剪为目标宽高比(例如“9:16”竖屏、“1:1”方形、“4:5”),适用于社交媒体短片。它会采用能容纳于画面中的该宽高比的最大裁剪区域,以 `focus` 为中心(源视频像素坐标 x,y,左上角为原点;默认值为中心),并限制在画面范围内。音频会保留。返回输出路径和新尺寸。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构macOS
{
  "properties": {
    "aspect": {
      "description": "Target aspect \"W:H\", e.g. 9:16, 1:1, 4:5, 16:9.",
      "type": "string"
    },
    "focus": {
      "description": "{x,y} center of interest in source pixels (top-left). Default: frame center.",
      "type": "object"
    },
    "input": {
      "description": "Path to the source video file.",
      "type": "string"
    },
    "output": {
      "description": "Default: <input>_<aspect>.mov. Missing parent folders are created.",
      "type": "string"
    }
  },
  "required": [
    "input",
    "aspect"
  ],
  "type": "object"
}

文档示例

video_reframe 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "aspect": "9:16",
  "input": "/Users/demo/Documents/meeting.mov"
}

Windows

用途

围绕焦点将视频裁剪为目标宽高比(例如“9:16”竖屏、“1:1”方形、“4:5”),适用于社交媒体短片。它会采用能容纳于画面中的该宽高比的最大裁剪区域,以 `focus` 为中心(源视频像素坐标 x,y,左上角为原点;默认值为中心),并限制在画面范围内。音频会保留。返回输出路径和新尺寸。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构Windows
{
  "properties": {
    "aspect": {
      "description": "Target aspect \"W:H\", e.g. 9:16, 1:1, 4:5, 16:9.",
      "type": "string"
    },
    "focus": {
      "description": "{x,y} center of interest in source pixels (top-left). Default: frame center.",
      "type": "object"
    },
    "input": {
      "description": "Path to the source video.",
      "type": "string"
    },
    "output": {
      "description": "Output path (default: <input>_<aspect>.mov).",
      "type": "string"
    }
  },
  "required": [
    "input",
    "aspect"
  ],
  "type": "object"
}

文档示例

video_reframe 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "aspect": "9:16",
  "input": "C:\\Users\\demo\\Documents\\meeting.mov"
}