convert_video
Convert video files between formats like MP4, WebM, MOV, AVI, GIF, and MKV. Adjust resolution and quality settings for compatibility with different devices and platforms.
Instructions
Convert a video to a different format or resolution.
Supported output formats: mp4, webm, mov, avi, gif, mkv.
Args: path: Absolute path to the video file. format: Target format (e.g. 'mp4', 'webm', 'gif'). output_path: Where to save. Defaults to .<new_ext>. resolution: Optional target resolution (e.g. '1280x720', '1920x1080'). crf: Constant Rate Factor for quality (0-51, lower = better). Default 23.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| output_path | No | ||
| resolution | No | ||
| crf | No |