Errors
RuntimeWarning: Couldn't find ffmpeg or avconv
This line is a warning printed by an audio library that MarkItDown loads when the audio extra is installed. It does not affect PDF, Office, HTML or any other non-audio conversion; only MP3, M4A and MP4 audio really need ffmpeg.
Short answer
Converting anything except MP3, M4A or MP4 audio: ignore it. Converting those: install ffmpeg.
winget install --id Gyan.FFmpeg --exactchoco install ffmpeg -ybrew install ffmpegsudo apt-get install -y ffmpegWant the message gone without installing anything: install MarkItDown without the audio extra (below).
Tested with markitdown 0.1.9 · Python Ubuntu 24.04, Windows Server 2025, macOS 26 · MarkItDown 0.1.4 to 0.1.9 · Python 3.13 (GitHub runners and a Linux lab) · 2026-11-15 · evidence: audio-youtube.csv, ffmpeg-corpus-compare.log, no-audio-extra-0.1.7.log, silence-lab.log
Do you need to do anything?
| You are converting | Does the warning matter? | Do this |
|---|---|---|
| PDF, Word, Excel, PowerPoint, HTML, CSV, images, ZIP | No | Nothing: proof below |
| WAV audio | No: it transcribes without ffmpeg | Nothing |
| MP3, M4A (and MP4 audio) | Yes: the conversion fails without ffmpeg | Install ffmpeg |
Proof that it is only a warning
We converted our whole 113-file corpus twice on the same machine, once with ffmpeg on PATH and once without:
And a PDF and a CSV file converted normally with ffmpeg removed from PATH (evidence/T40/warning-lab.log).
What actually needs ffmpeg
We ran the same three sample files, with and without ffmpeg, on all three systems:
| File | System | Transcribed? | Message |
|---|---|---|---|
test.wav | macos | yes | |
test.mp3 | macos | no | - AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe' |
test.m4a | macos | no | - AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe' |
test.wav | ubuntu | yes | |
test.mp3 | ubuntu | no | - AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe' |
test.m4a | ubuntu | no | - AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe' |
test.wav | windows | yes | |
test.mp3 | windows | no | - AudioConverter threw FileNotFoundError with message: [WinError 2] The system cannot find the file specified |
test.m4a | windows | no | - AudioConverter threw FileNotFoundError with message: [WinError 2] The system cannot find the file specified |
With ffmpeg installed the same three files all transcribed on all three systems. The real error is on the line below the wrapper, and it is the ffprobe lookup that fails, not ffmpeg itself:
$ markitdown test.mp3
markitdown._exceptions.FileConversionException: File conversion failed after 1 attempts:
- AudioConverter threw FileNotFoundError with message: [Errno 2] No such file or directory: 'ffprobe' On Windows the same failure reads [WinError 2] The system cannot find the file specified.
Where the message comes from, and which versions print it
The line comes from pydub, the audio library that MarkItDown's audio extra installs. The path in the message points into pydub/utils.py, not into MarkItDown. Releases 0.1.4 to 0.1.7 print it on every run:
$ markitdown --version
markitdown 0.1.7
--- stderr (last 2500)
/tmp/claude-0/v017/lib/python3.13/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) 0.1.8 and 0.1.9 do not print it for --version or for non-audio files:
$ markitdown --version
markitdown 0.1.9 raw log · Nothing on stderr
but it is still there if Python warnings are switched on, and it appears when you convert an audio file without ffmpeg (together with the ffprobe variant):
$ python -W default -c "import markitdown"
/tmp/claude-0/t04v/lib/python3.13/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) raw log · Warnings switched on for the import
$ markitdown test.mp3
/tmp/claude-0/t04v/lib/python3.13/site-packages/pydub/utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning) raw log · First lines; the traceback follows
So upgrading removes the noise from everyday commands, not the cause.
Install ffmpeg
The commands are in the block at the top. All four ran on our test machines, in this order of evidence: winget on a Windows Server 2025 runner, Chocolatey on another, Homebrew on macOS 26 and apt on Ubuntu 24.04. We did not test dnf or other distributions. After installing, open a new terminal (or restart the app that runs MarkItDown), then check:
ffmpeg -version
markitdown test.mp3ffmpeg is a system program, not a Python package: installing it once serves every virtual environment, pipx and uv install, so nothing needs reinstalling on the Python side. Installing it with winget put it on PATH for new windows only (the Windows page); Homebrew details are on the macOS page.
Or remove the cause: install without the audio extra
The warning exists only because the audio extra pulled in the audio library. Install the document extras without it:
pip install "markitdown[pdf,docx,pptx,xlsx]"On a 0.1.7 environment built that way, with ffmpeg missing, markitdown --version printed no warning and pydub was not installed (evidence/T40/no-audio-extra-0.1.7.log). It is also smaller: 351 MB against 407 MB for [all] on Linux (sizes). If you later need audio, install the extra: pip install "markitdown[audio-transcription]".
Silence it in your own code
On the command line, tell Python to ignore that warning category; we confirmed the message disappears and the MP3 still fails without ffmpeg:
python -W ignore::RuntimeWarning -m markitdown file.mp3PYTHONWARNINGS=ignore::RuntimeWarning markitdown file.mp3In code, filter the warning before importing MarkItDown: warnings.filterwarnings("ignore", message="Couldn't find ff", category=RuntimeWarning). In our test the warning was hidden and the conversion still raised the same FileNotFoundError for ffprobe (evidence/T40/silence-lab.log). Silencing hides the message; it does not install ffmpeg.
Related messages
[Errno 2] No such file or directory: 'ffprobe': the same fix as above.Could not transcribe this audioorUnknownValueError: not ffmpeg. The speech service heard nothing it could transcribe; we got it for 5 seconds of silence and for a 440 Hz tone (audio page).ExifTool … is vulnerable to CVE-2021-22204: a different external tool (error index).