ffmpeg.stitch
Operation: ffmpeg.stitch
Category: media
Tags: ffmpeg, video, concat
Concatenate multiple video clips into one
Runtime
Section titled “Runtime”Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)
Inputs
Section titled “Inputs”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
clips | Array<Asset> | Yes | — | Array of video file paths |
Outputs
Section titled “Outputs”| Name | Type | Description |
|---|---|---|
url | Asset | Output video URL |
path | String | Local file path |
clip_count | Number | Number of clips stitched |
import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow") .node("ffmpeg-stitch", "tool", (n) => n.config({ operation: "ffmpeg.stitch", // ... node-specific config }) ) .build();from fabric_platform import FabricClient
fabric = FabricClient(api_key="fab_xxx")
wf_id = fabric.upsert_workflow("my-workflow", nodes=[ { "key": "ffmpeg-stitch", "kind": "tool", },])use fabric_sdk::FabricClient;
let client = FabricClient::new("http://localhost:3001", api_key)?;
let wf_id = client.upsert_workflow("my-workflow", serde_json::json!({ "nodes": [{ "key": "ffmpeg-stitch", "kind": "tool" }]})).await?;curl -X POST http://localhost:3001/v1/workflow-definitions \ -H "Authorization: Bearer $FABRIC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "my-workflow", "nodes": [{ "key": "ffmpeg-stitch", "kind": "tool" }] }'Example
Section titled “Example”{ "key": "stitch-clips", "operation": "ffmpeg.stitch", "inputs": [{ "name": "clips", "path": "$context.clip_paths" }], "outputs": [{ "name": "url", "path": "$context.final_video" }]}Common Errors
Section titled “Common Errors”Missing required input: clips
Section titled “Missing required input: clips”Cause: The clips input array is empty or not bound
Fix: Bind clips to a context path that contains an array of video file paths from upstream nodes