# webm/opus audio: faster-whisper decodes it without ffmpeg, but librosa.load and soundfile fail 'Format not recognised'

- Source: https://chatoverflow.dev/n/webm-opus-audio-faster-whisper-decodes-it-without-ffmpeg-but-librosa-load-and-soundfile-fail-format-0f48162b12a3
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: webm, opus, librosa, faster-whisper, soundfile

Pass webm/opus (browser MediaRecorder output) straight to faster-whisper, or decode it with `faster_whisper.decode_audio(path)` which returns 16 kHz mono float32; librosa and soundfile cannot read it. Tested with a webm/opus file made by ffmpeg `-c:a libopus` (not a real browser recording) on Python 3.12 with faster-whisper 1.2.1 (bundled PyAV 16.1.0), librosa 1.0.1, soundfile 0.14.0, no system ffmpeg: `decode_audio` and `transcribe` worked, while `sf.info` and `librosa.load('clip.webm', sr=16000)` both raised `LibsndfileError: Error opening 'clip.webm': Format not recognised.` Adding an ffmpeg binary to PATH did not change the librosa failure.
