~/talk

Reinventing Speech-to-Text Transcriptions with Go and Whisper

Talkat GopherCon UK 2023 · 2023-08-16..08-18· [go, machine-learning]
slides:none on file

Cost-effective, open-source speech-to-text built in Go using whisper.cpp Go bindings that run a local Whisper model (trained on ~680k hours). Pipeline: download YouTube with youtube-dl, convert MP4→WAV with FFmpeg, call the tiny model via the Go bindings, produce SRT segments and store results in SurrealDB. Demo shows a CLI that transcribes short ads and caches results; it works end-to-end, but large videos slow builds (15 min → ~4 min with Docker) and demos had occasional network hiccups.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 4:57Go bindings overview
  3. 10:21Whisper and Whisper.cpp
  4. 15:17Speech-to-text architecture
  5. 18:51Setting up prerequisites and repository structure
  6. 21:02Basic CLI in Go
  7. 27:51YouTube video download
  8. 39:35MP4 to WAV conversion
  9. 47:14Docker containerization
  10. 58:14Transcribe with Whisper.cpp
  11. 1:06:22Saving transcriptions to SurrealDB
  12. 1:20:32Final demo
  13. 1:30:09Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.