Concatenate Videos
concat_videosJoins multiple video files into a single output using stream copy without re-encoding, validating codec/resolution/framerate/pixel format consistency by default.
Instructions
Join multiple video files into one with stream copy: no re-encoding, completes in seconds regardless of file size. All inputs must share the same codec, resolution, framerate, and pixel format. By default each input is probed with ffprobe and mismatches are rejected before ffmpeg runs, because ffmpeg itself accepts mismatched inputs and writes a silently corrupt file; set validate false to skip the probes for inputs known to be uniform. Prerequisite: ffmpeg installed. Side effect: overwrites output_path if it already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validate | No | Probe every input with ffprobe and reject codec/resolution/framerate/pixel-format mismatches before concatenating. Default true. Skipped with a warning when ffprobe is not installed. | |
| input_files | Yes | Video file paths to concatenate, in playback order. All must exist. | |
| output_path | Yes | Output file path. Overwritten if it already exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | Absolute paths of the concatenated inputs, in order | |
| validated | Yes | True when segment compatibility validation was requested | |
| outputPath | Yes | Absolute output file path |