set_video_resolution
Adjust video resolution to a specified target (e.g., '1920x1080') while preserving the audio stream. Input and output paths are required for processing.
Instructions
Sets the resolution 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 resolution. resolution: Target video resolution (e.g., '1920x1080', '1280x720', or '720' for height). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input_video_path | Yes | ||
output_video_path | Yes | ||
resolution | Yes |
Input Schema (JSON Schema)
{
"properties": {
"input_video_path": {
"title": "Input Video Path",
"type": "string"
},
"output_video_path": {
"title": "Output Video Path",
"type": "string"
},
"resolution": {
"title": "Resolution",
"type": "string"
}
},
"required": [
"input_video_path",
"output_video_path",
"resolution"
],
"title": "set_video_resolutionArguments",
"type": "object"
}