按指定时间范围裁剪视频片段。
Args:
video_path: 输入视频文件路径。
output_video_path: 输出视频文件路径。
start_time: 开始时间(支持 'HH:MM:SS' 或秒数)。
end_time: 结束时间(支持 'HH:MM:SS' 或秒数)。
Returns:
A status message indicating success or failure.

调整视频的画面纵横比。 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.

Extract a segment from an audio file between specified start and end times. Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the sliced audio segment. start_time: Start time in format 'HH:MM:SS', 'MM:SS', or seconds (e.g., '00:01:30', '90', '1:30'). end_time: End time in same format as start_time (e.g., '00:02:45', '165', '2:45'). copy_codec: If True, copy codec without re-encoding (faster). If False, re-encode (default: True). Returns: A status message indicating success or failure.

帮你把音频文件快速转换成文字,支持多种语言和格式。