whisper.cpp
whisper.cpp copied to clipboard
A small bit is missing in documentation (or improve exception handling?)
On https://github.com/ggerganov/whisper.cpp/tree/master/examples/stream page the "Building" section mentions you just need to have "libsdl2-dev" package installed, but in fact you also need "ffmpeg". Without it, the example was failing for me with:
Floating point exception (core dumped)
... which was not very obvious to figure it out, as I was pretty sure my system had ffmpeg, until I figured it wasn't the case.