jiaaro/pydub

Wrong exception when ffprobe is not installed

Oreldm opened this issue · 1 comments

Oreldm commented

Steps to reproduce

Do not have ffprobe or avprobe on the computer.
Try to use AudioSegment.from_mp3() or any other AudioSegment.from_file() .

Expected behavior

If it is not working- we should throw an exception that ffprobe is not installed.

Actual behavior

We are throwing "FileNotFound" for the file that was sent to "AudioSegment.from_function(file_sent)"

Your System configuration

  • Python version: 3.9
  • Pydub version: 0.25.1
  • ffmpeg or avlib?: None
  • ffmpeg/avlib version: None

Is there an audio file you can include to help us reproduce?

Doesn't needed to reproduce.

i have same issue no ffmpeg path identified here is the subject starts with :- URGENT ISSUE:- RuntimeWarning: Couldn't find ffmpeg or avconv , I also saw the error ffprobe not found when i changed something in the same code, can anyone provide resolution my ticket is also its open for 3 weeks