Skip to content

Making whisper.cpp use streamed audio from stdin #3521

@luarvique

Description

@luarvique

Hello!

I am wondering if there are existing command line options to make whisper.cpp accept raw streamed audio from the stdin. I know that a .wav file can be fed to it, but .wav files are inherently finite.

If there are no such options at the moment, could someone add them? Would essentially come down to specifying sample rate and the data format (e.g. S16 or F32).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions