I am trying to convert .mp3 file to .wav. I am facing issue. I have tried all the suggestions given in stackoverflow but no use. ffmpeg is also installed successfully. Please find below code I am using
from pydub import AudioSegment
src = 'Audio_1.mp3'
dst = 'Audio_2.wav'
sound = AudioSegment.from_mp3(src)
sound.export(dst, format="wav")
I am facing below errors:
RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
FileNotFoundError: [WinError 2] The system cannot find the file specified
I have tried all the existing solutions in stackoverflow but nothing could help. ffmpeg is installed successfully but still the issue. Please help me in this