-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken (repeating) subtitles #2
Comments
This is a problem I have been aware of for some time. Re-enabling ASR will recreate the subtitles from the playback position, so that may help. I reproduced it even when I fed the WAV files directly to whisper.net, so the cause may be on the library side (whisper.net or whisper.cpp) . debug code: output wav LLPlayer/FlyleafLib/MediaPlayer/SubtitlesASR.cs Lines 211 to 216 in b82d422
I will do a detailed investigation later. |
I was using CPU in the gif, tried using cuda and it has the same issue (seems worse really, but unsure). re-enabling does work but just a bit tedious since you have to do it multiple times |
Thanks, I donn't have a nvidia gpu so that helps. |
I have confirmed that when I feed a specific WAV file directly to whisper.net, it does not reproduce on the CPU, but definitely on Vulkan. Apparently there are two types of repeating problems: the one that occurs on the CPU must be a problem on the whisper.cpp side, which is the problem of the previous subtitle repeating when silent. which should be resolved when the next audio comes in. The problem that occurs with vulkan and cuda is that the previous subtitle repeats with audio present, which should be fixed. I will check whether whisper.net or whisper.cpp has the vulkan/cuda problem. I bought an nvidia GPU and have confirmed that I can reproduce this with a combination of CPU/CUDA and LargeV3. I need to set up an environment where I can run whisper.cpp directly in a Windows environment. |
It seems to be a problem on the whisper.cpp or original whisper models, so we will have to wait patiently for it to be fixed in an upgraded version. sandrohanea/whisper.net#337 There are several ways to deal with this.
|
On each video I upload, the subtitles repeat for about 4 minutes before coming back. I tried with LargeV2 and V3 models.
The text was updated successfully, but these errors were encountered: