Skip to content

ffmpeg.stitch

Operation: ffmpeg.stitch
Category: media
Tags: ffmpeg, video, concat

Concatenate multiple video clips into one

Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)

NameTypeRequiredDefaultDescription
clipsArray<Asset>YesArray of video file paths
NameTypeDescription
urlAssetOutput video URL
pathStringLocal file path
clip_countNumberNumber 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();
{
"key": "stitch-clips",
"operation": "ffmpeg.stitch",
"inputs": [{ "name": "clips", "path": "$context.clip_paths" }],
"outputs": [{ "name": "url", "path": "$context.final_video" }]
}

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