Skip to content

Invalid encoding #1761

@thewh1teagle

Description

@thewh1teagle

When transcribing audio files in hebrew language I receive error from whisper-rs of invalid utf-8, so I guess that basically it fails to decode some of them.
it happens only when getting individual segments with the function
whisper.cpp#L5988::whisper_full_get_token_text_from_state

but with
whisper.cpp#L5972::whisper_full_get_segment_text_from_state

it works

tazz4843/whisper-rs#115
audio.mp3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions