set_video_resolution
Adjust the resolution of a video to a specified size, preserving the audio stream. Input the source video path, output path, and desired resolution (e.g., '1920x1080') to save the resized video.
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 |