video_stitch
Join local video clips in order into one MP4, merging same-format clips losslessly and re-encoding mixed formats to H.264/AAC. Saves the combined file to the configured output directory.
Instructions
Join local video clips, in the given order, into one .mp4 with ffmpeg. Runs on this computer and costs nothing. Clips with the same format (e.g. all from video_generate or Flow) are joined losslessly; mixed formats are re-encoded to H.264/AAC. Use it to combine clips made by video_generate, video_edit or flow_collect; flow_make_video already joins its own clips.
Args:
clips: Paths of the clips, first to last (at least one).
file_name: Name for the joined file, saved in GEMINI_PRO_OUTPUT_DIR; a
number is added if it already exists.
Returns:
"Saved: <path>" with the joined video, or an error such as a missing clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| file_name | No | stitched |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |