trim_clip_by_frames
Adjust in/out points of video or audio clips in Premiere Pro by a specified number of frames, enabling precise editing control for sequences.
Instructions
Trim or extend the in/out point of a video or audio clip by a number of frames.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clipId | Yes | ID of the clip to trim | |
direction | Yes | Which edit point to trim ('in' or 'out') | |
framesDelta | Yes | Number of frames to trim (positive or negative) | |
sequenceId | Yes | Index of the sequence (0-based) | |
trackType | Yes | Track type ('video' or 'audio') |
Input Schema (JSON Schema)
{
"properties": {
"clipId": {
"description": "ID of the clip to trim",
"type": "string"
},
"direction": {
"description": "Which edit point to trim ('in' or 'out')",
"enum": [
"in",
"out"
],
"type": "string"
},
"framesDelta": {
"description": "Number of frames to trim (positive or negative)",
"type": "number"
},
"sequenceId": {
"description": "Index of the sequence (0-based)",
"type": "number"
},
"trackType": {
"description": "Track type ('video' or 'audio')",
"enum": [
"video",
"audio"
],
"type": "string"
}
},
"required": [
"sequenceId",
"clipId",
"framesDelta",
"direction",
"trackType"
],
"type": "object"
}