ffmpeg_trim
Extract a specific segment from a video file by specifying start time and either end time or duration.
Instructions
Trim a video to extract a specific segment.
Args:
file_path: Path to the input video file
start_time: Start time (e.g., "00:01:30" or "90" for 90 seconds)
end_time: End time (e.g., "00:02:00"). Mutually exclusive with duration.
duration: Duration of the clip (e.g., "30" for 30 seconds). Mutually exclusive with end_time.
Returns:
Path to the trimmed file
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| start_time | Yes | ||
| end_time | No | ||
| duration | No |