Report this

What is the reason for this report?

Unexpected error: No such file or directory: 'ffprobe', while using pydub in Digital Ocean

Posted on May 12, 2025

I have an app that processes audio files and converts them to ‘wav’ format. This works locally on my Mac, however in DigitalOcean, when recording audio, i get the below error, followed by a 500:

warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning) Unexpected error: [Errno 2] No such file or directory: 'ffprobe'

Not sure why this error arises because pydub works correctly when I run the application locally

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.