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

video_trim

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

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

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

macOS

목적

영상을 하나 이상의 시간 범위(밀리초)로 잘라 순서대로 이어 붙여 새 파일로 만듭니다. 예를 들어 [{start_ms:0,end_ms:6000},{start_ms:126000,end_ms:223000}]을 유지하면 불필요한 구간을 제거할 수 있습니다. 오디오도 함께 유지됩니다. 출력 경로와 길이를 반환합니다. 입력 파일을 그 자리에서 덮어쓰지 않습니다. 첫 번째 호출은 미리보기를 반환하고, 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"
    },
    "input": {
      "description": "Path to the source video.",
      "type": "string"
    },
    "output": {
      "description": "Output path (default: <input>_trimmed.mov). 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"
    },
    "ranges": {
      "description": "Ordered [{start_ms, end_ms}] to keep.",
      "items": {
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "input",
    "ranges"
  ],
  "type": "object"
}

문서 예시

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

{
  "confirm": false,
  "input": "/Users/demo/Documents/meeting.mov",
  "ranges": [
    {
      "end_ms": 5000,
      "start_ms": 0
    }
  ]
}

Windows

목적

영상을 하나 이상의 시간 범위(밀리초)로 잘라 순서대로 이어 붙여 새 파일로 만듭니다. 예를 들어 [{start_ms:0,end_ms:6000},{start_ms:126000,end_ms:223000}]을 유지하면 불필요한 구간을 제거할 수 있습니다. 오디오도 함께 유지됩니다. 출력 경로와 길이를 반환합니다. 입력 파일을 그 자리에서 덮어쓰지 않습니다. 첫 번째 호출은 미리보기를 반환하며 아무것도 쓰지 않고, confirm=true로 설정하면 내보냅니다.

필수 입력

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

권한 및 확인

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

영문 정식 기술 스키마 — Windows
{
  "properties": {
    "confirm": {
      "description": "Must be true to export. Without it, returns a preview.",
      "type": "boolean"
    },
    "input": {
      "description": "Path to the source video.",
      "type": "string"
    },
    "output": {
      "description": "Output path (default: <input>_trimmed.mov).",
      "type": "string"
    },
    "ranges": {
      "description": "Ordered [{start_ms, end_ms}] to keep.",
      "items": {
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "input",
    "ranges"
  ],
  "type": "object"
}

문서 예시

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

{
  "confirm": false,
  "input": "C:\\Users\\demo\\Documents\\meeting.mov",
  "ranges": [
    {
      "end_ms": 5000,
      "start_ms": 0
    }
  ]
}