Skip to content

example: add ai transcode#205

Draft
tony-go wants to merge 6 commits into
mainfrom
ai-transcode
Draft

example: add ai transcode#205
tony-go wants to merge 6 commits into
mainfrom
ai-transcode

Conversation

@tony-go

@tony-go tony-go commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Usage:

bare examples/live-audio-to-whisper.js
Usage:
  bare examples/live-audio-to-whisper.js --device <index> [duration] [whisper-url]

List audio devices:
  ffmpeg -f avfoundation -list_devices true -i ""

Example:
  bare examples/live-audio-to-whisper.js --device 0 15

Example:

bare examples/live-audio-to-whisper.js --device 3 15 http://localhost:9090
Opening avfoundation (:3)...
Source: 48000Hz, 1ch
Capturing 15s...
Segment 1/2: 10.00s, 320182 bytes
Sending to http://localhost:9090/inference ...
Segment 2/2: 5.00s, 160162 bytes
Sending to http://localhost:9090/inference ...

─── Transcription ───
Hi, man, how are you?
 How are you? [BLANK_AUDIO]

Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Signed-off-by: Tony Gorez <gorez.tony@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant