clip_video
Extract a specific segment from a video file by defining start time and duration. This tool creates a new video clip from your source footage.
Instructions
Generate a video clip from the given video file using ffmpeg-python.
Args: input_video_path (str): Path to the source video file. start_timestamp (float, optional): Start time in seconds. Defaults to 0.0. duration (float, optional): Clip length in seconds. Defaults to 5.0.
Returns: str: Path to the generated clip, or an exception message string on failure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_video_path | Yes | ||
| start_timestamp | No | ||
| duration | No |