
调整视频的画面纵横比。 Args: video_path: 输入视频文件路径。 output_video_path: 输出视频文件路径。 target_aspect_ratio: 目标纵横比字符串,格式 '宽:高'(如 '16:9'、'4:3'、'1:1')。 resize_mode: 调整模式,'pad' 表示等比缩放并补边,'crop' 表示居中裁剪以适配。 padding_color: 当使用 'pad' 时的补边颜色(例如 'black'、'white'、'#RRGGBB')。 Returns: A status message indicating success or failure.
这个工具能帮你做什么?
什么时候你会需要它?
使用很简单
让视频编辑变得快速、高效、有趣!

Get detailed information about an audio file using ffprobe. Args: audio_path: Path to the audio file to analyze. Returns: A JSON string containing detailed audio file information including format, streams, metadata, etc.

提供文本转语音的AI助手

Converts an audio file to the specified target format with appropriate codec. Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the converted audio file. target_format: Desired output audio format (e.g., 'mp3', 'wav', 'aac', 'm4a', 'wma', 'flac', 'ogg'). Returns: A status message indicating success or failure.