merlyn/collector/utils/WhisperProviders
Sean Hatfield 6c1f8a38ce
Refactor localWhisper to use custom FFMPEGWrapper class (#4775)
* refactor localWhisper to use new custom FFMPEGWrapper class

* stub tests in github actions

* add back wavefile conversion to 16khz 32f to fix docker builds

* use afterEach for cleanup in ffmpeg tests

* remove unused FFMPEG_PATH env check

* use spawnSync for ffmpeg to capture and log output

* lint

* revert removal of try/catch around validateAudioFile for more helpful error msgs

* use readFileSync instead of createReadStream for less overhead

* change import to require for fix-path and stub import in tests

* refactor to singleton to preserve ffmpeg path
dev build

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-12-18 11:41:45 -08:00
..
ffmpeg Refactor localWhisper to use custom FFMPEGWrapper class (#4775) 2025-12-18 11:41:45 -08:00
localWhisper.js Refactor localWhisper to use custom FFMPEGWrapper class (#4775) 2025-12-18 11:41:45 -08:00
OpenAiWhisper.js Handle OpenAI whisper transcription edge case (#2621) 2024-11-11 17:32:03 -08:00