locaal-ai / obs-localvocal

OBS plugin for local speech recognition and captioning using AI
https://obsproject.com/forum/resources/localvocal-live-stream-ai-assistant.1769/
GNU General Public License v2.0
520 stars 38 forks source link

More offline test improvements #153

Closed palana closed 2 months ago

palana commented 2 months ago

With these changes offline tests (with segments.json saving) now consistently run faster than realtime on my machine; on an internal test file (2.5 gb, ~4.5 hours) with logging changes from https://github.com/palana/obs-localvocal/tree/offline-test-logging I get the following output shortly before processing finishes:

[13:38:26.084] [20:41.538] [INFO] [file location: 263:50.000 elapsed: 20:31.076 rate: 12.9] waited 0 ms