set_video_resolution
Set a video's resolution to a specific size, such as 1920x1080 or 720p, while copying the audio stream. Provide input and output paths along with the target resolution.
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 |
|---|---|---|---|
| resolution | Yes | ||
| input_video_path | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |