set_video_frame_rate
Change the frame rate of a video while preserving the audio stream. Specify input/output paths and target frame rate to adjust playback speed or compatibility.
Instructions
Sets the frame rate of a video, attempting to copy the audio stream. Args: input_video_path: Path to the source video file. output_video_path: Path to save the video with the new frame rate. frame_rate: Target video frame rate (e.g., 24, 30, 60). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
frame_rate | Yes | ||
input_video_path | Yes | ||
output_video_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"frame_rate": {
"title": "Frame Rate",
"type": "integer"
},
"input_video_path": {
"title": "Input Video Path",
"type": "string"
},
"output_video_path": {
"title": "Output Video Path",
"type": "string"
}
},
"required": [
"input_video_path",
"output_video_path",
"frame_rate"
],
"title": "set_video_frame_rateArguments",
"type": "object"
}