
It is written mostly in C programming language and the best part is that FFmpeg is open source. There are many cool things you can do with this tool. What do I mean by this? Well, you can easily convert from one format to another, extract audio from a video, compress a video and even extract pictures from a video. I think I am close to solve the problem myself anyways, but thank you anyways.FFmpeg is a great multimedia framework that helps you deal with your audio and video files. I even was able to convert the file using ffmpeg in shell. Even not subprocess was able to solve this problem despite the fact, that I am able to use ffmpeg in shell. I guess my mistake is very obvious and I am just not able to get it. I installed the ffmpeg binary as stated and i was able to get ffmpeg running in the shell, however not with pydub.

However I didn't manage to get it working, even with the solution provided in the comments (thank you though). I can work with ffmpeg and load files but using it with pydub won't work.ĮDIT: Today I changed to my windows machine and looked at the error in-depth. I can even import the ffmpeg module but nothing happens. I don't know if it is me, but some similar questions stating I should install ffmpeg or python-ffmpeg won't work. Warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) Sound = om_mp3('test.mp3')Īnd I get this error: FileNotFoundError: No such file or directory: 'ffprobe': 'ffprobe'Īlongside this runtime warning: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work My exact code looks like that: from pydub import AudioSegment (venv) Python-IT:LightsDev pythonit$ pip3 list

Users/pythonit/Documents/Programmieren/Python/LightsDev/venv/bin/pip3 (venv) Python-IT:LightsDev pythonit$ which pip3 Users/pythonit/Documents/Programmieren/Python/LightsDev/venv/bin/python But for some reason, pydub decided to give me an FileNotFoundError: (venv) Python-IT:LightsDev pythonit$ which python I created a venv for this project and installed all necessary modules. Therefor I used the pydub module as stated here.

I was trying to get raw sound data out of a.
