Couldn't find ffmpeg or avconv?

Hi guys,

I am in the hw of “Improvise_a_Jazz_Solo_with_an_LSTM_Network_v4”. At my local, it give me the error

C:\ …\Roaming\Python\Python310\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn’t find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn(“Couldn’t find ffmpeg or avconv - defaulting to ffmpeg, but may not work”, RuntimeWarning)

It seems like this is the error from the package “pydub” ? maybe I am using the wrong version ? Can someone give me hint ? Thank you!

Most likely you don’t have the correct version of the tools and packages.

Hi @sunson29,

ffmpeg is a program. If it couldn’t be found, you might try to install it. I found one such tutorial by googling.

Cheers,
Raymond

Hi @rmwkwok Thanks for the help. Unfortunately, it’s not working after I followed all the steps, download, do system variables, and add the new path … the error is exactly the same as before.

So, this is not the problem of packages ? but a software ?
Do you think if I install some special packages will resolve this issue?

What information can you share that we can base on to further investigate?

It works using python 3.6 and pydub 2022 from this link: https://www.gyan.dev/ffmpeg/builds/ffmpeg-tools.zip
follow the steps in this tutorial: How to Install FFmpeg on Windows: A Step-by-Step Guide