trim-video
Cut video files to a specified duration and save them in a desired location using start and end timestamps. Ideal for precise editing and reducing file size.
Instructions
Trim video to specified duration
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| duration | Yes | Duration in format HH:MM:SS | |
| inputPath | Yes | Absolute path to input video file | |
| outputFilename | No | Output filename (only used if outputPath is not provided) | |
| outputPath | No | Optional absolute path for output file. If not provided, file will be saved in Downloads folder | |
| startTime | Yes | Start time in format HH:MM:SS | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "duration": {
      "description": "Duration in format HH:MM:SS",
      "type": "string"
    },
    "inputPath": {
      "description": "Absolute path to input video file",
      "type": "string"
    },
    "outputFilename": {
      "description": "Output filename (only used if outputPath is not provided)",
      "type": "string"
    },
    "outputPath": {
      "description": "Optional absolute path for output file. If not provided, file will be saved in Downloads folder",
      "type": "string"
    },
    "startTime": {
      "description": "Start time in format HH:MM:SS",
      "type": "string"
    }
  },
  "required": [
    "inputPath",
    "startTime",
    "duration"
  ],
  "type": "object"
}