Skip to content

How to compile it yourself instead of using precompiled .so files? #4

@Gusha-nye

Description

@Gusha-nye

Hello, I downloaded and used this project following your example. I noticed that when transcribing English audio, it recognizes and returns the corresponding English content correctly. However, when transcribing Chinese audio, it only returns English transcription results, and there are errors present.

I want to integrate this project into another project of mine, but I'm unsure how to resolve the aforementioned issues. So far, I've attempted to write my own jni.c and CMakeLists.txt files, but both attempts have failed.

In your original whipser.cpp project, I addressed the transcription issues for the corresponding languages by modifying the source code, CMakeLists.txt, and jni.c. However, I was unable to isolate this functionality.

Therefore, I would like to ask: Is there a way to compile your whisper.cpp.android.java.demo project independently using CMakeLists.txt and jni.c? Have you considered continuing to optimize in this direction? Alternatively, could you provide modifiable CMakeLists.txt and jni.c files based on this standalone project?

I look forward to your response.

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