trim_video
Remove unwanted sections from a video by specifying exact start and end times, and save the trimmed output to a designated file path. Ideal for precise video editing.
Instructions
Trims a video to the specified start and end times.
Args: video_path: The path to the input video file. output_video_path: The path to save the trimmed video file. start_time: The start time for trimming (HH:MM:SS or seconds). end_time: The end time for trimming (HH:MM:SS or seconds). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_time | Yes | ||
output_video_path | Yes | ||
start_time | Yes | ||
video_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"end_time": {
"title": "End Time",
"type": "string"
},
"output_video_path": {
"title": "Output Video Path",
"type": "string"
},
"start_time": {
"title": "Start Time",
"type": "string"
},
"video_path": {
"title": "Video Path",
"type": "string"
}
},
"required": [
"video_path",
"output_video_path",
"start_time",
"end_time"
],
"title": "trim_videoArguments",
"type": "object"
}