Skip to content

Trouble with language/detect_language and offset_ms params that are totally or partially ignored #1831

Open
@tripledee

Description

@tripledee

• Using a multilingual model (medium or largeV2) in C/ObjC, I noticed with numerous examples that despite defining a language in params.language and setting params.detect_language to false, whisper.cpp always auto detects the language and ignore both settings.

• So, as one of my recording test starts in french (~1 minute) and continues in German with absolutely no french speaking (the following ~30 minutes), I tried to delay the transcription, setting offset_ms param to 60000 ms. The transcript starts effectively from this one minute setting, but Whisper ignored it for language detection and still discovers french.

Any idea of what can explain these strange behaviours? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions