trim_and_concat_operation
Trim video segments and concatenate them into a single portrait-oriented video with normalized format and positioning.
Instructions
Trim and concatenate multiple videos (portrait orientation, normalize format).
Args: inputs (list[dict]): Each dict must have: - 'path' (str): path to the video file - 'start_time' (str, optional): start time in seconds - 'end_time' (str, optional): end time in seconds width (int): Width to scale each video (portrait). height (int): Height to scale each video (portrait). x (int): X position for overlay (default 0). y (int): Y position for overlay (default 0).
Returns: str: Path to the output video if successful. None: If an error occurs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| width | No | ||
| height | No | ||
| x | No | ||
| y | No |