본문으로 건너뛰기
모든 도구

video_export_gif

화면, 윈도우 및 인터페이스 · macOS · Windows

효과: 쓰기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

영상(또는 [start_ms,end_ms] 구간)을 최적화된 반복 재생 GIF로 내보냅니다. README/소셜용입니다. fps(기본값 12)와 width(기본값 640, 높이 자동)가 크기를 결정합니다. 출력 경로, 프레임 수, 크기를 반환합니다. 첫 번째 호출은 미리보기를 반환하며, confirm: true로 설정하면 파일을 씁니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마 — macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to write the output. Without it the call returns a preview and writes nothing.",
      "type": "boolean"
    },
    "end_ms": {
      "description": "Slice end (default: end of video).",
      "type": "integer"
    },
    "fps": {
      "description": "Frames per second in the GIF (default 12).",
      "type": "integer"
    },
    "input": {
      "description": "Path to the source video.",
      "type": "string"
    },
    "output": {
      "description": "Output path (default: <input>.gif). Missing parent folders are created.",
      "type": "string"
    },
    "overwrite": {
      "description": "Replace an existing file at output. Without it an existing output is refused. The input is never overwritten.",
      "type": "boolean"
    },
    "start_ms": {
      "description": "Slice start (default 0).",
      "type": "integer"
    },
    "width": {
      "description": "Output width in px, 64–1920 (a value outside is clamped to the nearest end); height scales to keep aspect (default 640).",
      "maximum": 1920,
      "minimum": 64,
      "type": "integer"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

문서 예시

video_export_gif 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "confirm": false,
  "input": "/Users/demo/Documents/meeting.mov"
}

Windows

목적

영상(또는 [start_ms,end_ms] 구간)을 최적화된 반복 재생 GIF로 내보냅니다. README/소셜용입니다. fps(기본값 12)와 width(기본값 640, 높이 자동)가 크기를 결정합니다. 출력 경로, 프레임 수, 크기를 반환합니다. 첫 번째 호출은 미리보기를 반환하며 아무것도 쓰지 않고, confirm=true로 설정하면 내보냅니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마 — Windows
{
  "properties": {
    "confirm": {
      "description": "Must be true to export. Without it, returns a preview.",
      "type": "boolean"
    },
    "end_ms": {
      "description": "Slice end in ms (default: end of video).",
      "type": "integer"
    },
    "fps": {
      "description": "GIF frame rate 1-30 (default 12).",
      "type": "integer"
    },
    "input": {
      "description": "Path to the source video.",
      "type": "string"
    },
    "output": {
      "description": "Output path (default: <input>_clip.gif).",
      "type": "string"
    },
    "start_ms": {
      "description": "Slice start in ms (default 0).",
      "type": "integer"
    },
    "width": {
      "description": "Output width in px, height scales to keep aspect (default 640).",
      "type": "integer"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

문서 예시

video_export_gif 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "confirm": false,
  "input": "C:\\Users\\demo\\Documents\\meeting.mov"
}