Naar de inhoud
Alle hulpmiddelen

video_export_gif

Scherm, vensters en interface · macOS · Windows

Effect: schrijven. Status: voorwaardelijk beschikbaar.

‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.

macOS

Doel

Exporteert een video (of een [start_ms,end_ms]-fragment ervan) naar een geoptimaliseerde zich herhalende GIF — voor README/sociaal. fps (standaard 12) en width (standaard 640, hoogte automatisch) bepalen de grootte. Geeft het uitvoerpad, het aantal frames en de grootte terug. De eerste aanroep geeft een voorbeeld terug; confirm: true schrijft het bestand.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — 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"
}

Documentatievoorbeeld

Documentatievoorbeeld voor video_export_gif. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

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

Windows

Doel

Exporteert een video (of een [start_ms,end_ms]-fragment ervan) naar een geoptimaliseerde zich herhalende GIF — voor README/sociaal. fps (standaard 12) en width (standaard 640, hoogte automatisch) bepalen de grootte. Geeft het uitvoerpad, het aantal frames en de grootte terug. De eerste aanroep geeft een voorbeeld terug en schrijft niets; confirm=true exporteert.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — 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"
}

Documentatievoorbeeld

Documentatievoorbeeld voor video_export_gif. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

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