set_video_bitrate
Adjust the video bitrate of a video file to a specified target rate while preserving the audio stream. Ideal for optimizing video quality or reducing file size based on custom bitrate settings.
Instructions
Sets the video bitrate 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 video bitrate. video_bitrate: Target video bitrate (e.g., '1M', '2500k'). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input_video_path | Yes | ||
output_video_path | Yes | ||
video_bitrate | Yes |