Errors

RuntimeWarning: Couldn't find ffmpeg or avconv

Updated 2026-11-15·Upstream source ↗
Markdown view

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.

Command
winget install --id Gyan.FFmpeg --exact

Want 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 convertingDoes the warning matter?Do this
PDF, Word, Excel, PowerPoint, HTML, CSV, images, ZIPNoNothing: proof below
WAV audioNo: it transcribes without ffmpegNothing
MP3, M4A (and MP4 audio)Yes: the conversion fails without ffmpegInstall 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:

Without ffmpeg: audio samples by system
FileSystemTranscribed?Message
test.wavmacosyes
test.mp3macosno- AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe'
test.m4amacosno- AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe'
test.wavubuntuyes
test.mp3ubuntuno- AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe'
test.m4aubuntuno- AudioConverter threw FileNotFoundError with message: No such file or directory: 'ffprobe'
test.wavwindowsyes
test.mp3windowsno- AudioConverter threw FileNotFoundError with message: [WinError 2] The system cannot find the file specified
test.m4awindowsno- AudioConverter threw FileNotFoundError with message: [WinError 2] The system cannot find the file specified
Without ffmpeg: audio samples by system Source: Test T19 · run 43760237928 · markitdown 0.1.9 · audio-youtube.csv · Download CSV

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 0.1.9 · Linux lab · ffmpeg not on PATH · 2026-11-15
$ 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'

raw log

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 0.1.7 · Linux lab · ffmpeg not on PATH · 2026-11-15
$ 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)

raw log

0.1.8 and 0.1.9 do not print it for --version or for non-audio files:

markitdown 0.1.9 · Linux lab · ffmpeg not on PATH · 2026-11-15
$ 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):

markitdown 0.1.9 · Linux lab · ffmpeg not on PATH · 2026-11-15
$ 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 0.1.9 · Linux lab · ffmpeg not on PATH · 2026-11-15
$ 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:

Command
ffmpeg -version
markitdown test.mp3

ffmpeg 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:

Command
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:

Command
python -W ignore::RuntimeWarning -m markitdown file.mp3

In 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.

  • [Errno 2] No such file or directory: 'ffprobe': the same fix as above.
  • Could not transcribe this audio or UnknownValueError: 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).