I have a problem with Pydub module running in Windows and Linux. When I try open a mp3 file thus:
from pydub import AudioSegment sound = AudioSegment.from_mp
In newer versions of pydub, you can specify the absolute path to your ffmpeg executable by setting the class attribute converter, e.g.:
converter
from pydub import AudioSegment AudioSegment.converter = "/usr/local/bin/ffmpeg"
In older versions the class attribute used to be ffmpeg, which is deprecated now.
ffmpeg