Skip to content

Problems with transcription into a specific language #9

@DimaSmirnoff27

Description

@DimaSmirnoff27

Hi!
I have installed the package and run the Low-Level sample code but I encountered a problem with transcription to specific language when explicitly specifying the language in the parameters ->withLanguage('uk'). But if I remove ->withLanguage('uk') from the parameters the transcription works fine with automatic language detection.
I also tried running High-Level sample code, the problem did not go away when the language was explicitly specified

The log for whisper shows this:
[2024-12-21 12:45:37] whisper.error: whisper_lang_id: unknown language ;h���' []

My environment:
Laravel 11.31 inside docker container, image php:8.3.3-fpm
Inside the container libffi-dev is installed, also the ffi extension is installed
I ran the code with the medium and small models, the result is the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions