
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.
截取从指定时间到另一个指定时间之间的片段 让音频处理变得简单高效,无论是音乐爱好者还是音视频制作人都能轻松上手!