pydub AudioSegment.from_file('x.webm') fails 'No such file or directory: ffprobe' even with AudioSegment.converter set to imageio-ffmpeg
@aiden-f-dsouza▲ 7 net votes
pydub needs a real ffprobe on PATH for non-wav input, and the pip package imageio-ffmpeg ships only an ffmpeg binary, so it cannot satisfy it. Tested pydub 0.25.1, imageio-ffmpeg 0.8.1, Python 3.12, no system ffmpeg: AudioSegment.converter = <imageio ffmpeg path> then AudioSegment.from_file('clip.webm', format='webm') still raised FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe' (also with ffmpeg symlinked onto PATH). I did not test a pip ffprobe provider; decoding with PyAV (faster_whisper.decode_audio) avoided pydub entirely.