Skip to content
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

为什么没生成srt字幕文件,生成了一个wav音频文件 #79

Closed
kKevin0001 opened this issue Oct 22, 2024 · 7 comments
Closed

Comments

@kKevin0001
Copy link

我是这么设置的,如图
最后没有srt文件出现,却出现了一个wav文件
image

@tigros
Copy link
Owner

tigros commented Oct 23, 2024

Hi,

In cmd prompt cd to whisperer folder and put main.exe --language zh --output-srt --max-context 0 --model path\to\model.bin path\to\wav.wav

likely some error there. maybe anitivrus deleted main.exe? also is that a plus sign in file name? that'll break things for sure.

@kKevin0001
Copy link
Author

Hi,

In cmd prompt cd to whisperer folder and put main.exe --language zh --output-srt --max-context 0 --model path\to\model.bin path\to\wav.wav

likely some error there. maybe anitivrus deleted main.exe? also is that a plus sign in file name? that'll break things for sure.

现在又能生成自动srt文件了,之前只会生成wav文件,现在会先生成wav文件,然后生成srt文件,然后把wav文件自动删了

@tigros
Copy link
Owner

tigros commented Oct 24, 2024

i don't know if you are using large model but maybe something was using GPU memory so it was waiting for enough memory to proceed. Did the Go button change from Cancel back to Go? If stuck on Cancel then it was waiting. You can see what is using GPU memory by running GPUmembyproc.exe from cmd prompt.

@kKevin0001
Copy link
Author

i don't know if you are using large model but maybe something was using GPU memory so it was waiting for enough memory to proceed. Did the Go button change from Cancel back to Go? If stuck on Cancel then it was waiting. You can see what is using GPU memory by running GPUmembyproc.exe from cmd prompt.

我记得在使用这个软件的时候,没有其它应用正在大量占用显存,那时显卡使用率应该在10%以下,而且按钮很快由Go编程Cancel了

提个小建议,假设真的是因为显存不足导致srt没有生成,那能不能显示哪个文件生成失败了,并且自动删除生成的wav文件呢?

@tigros
Copy link
Owner

tigros commented Oct 24, 2024

it's hard to explain what happened there, most cases would have shown an error message, like missing or failed main.exe.

Be nice if can reproduce and maybe send the .wav or something.

I'll add that check you suggested in next version. It's also strange the .wav wasn't deleted, looking at the code it should have been if main.exe did execute. Could be strange file name with plus sign idk.

@kKevin0001
Copy link
Author

it's hard to explain what happened there, most cases would have shown an error message, like missing or failed main.exe.

Be nice if can reproduce and maybe send the .wav or something.

I'll add that check you suggested in next version. It's also strange the .wav wasn't deleted, looking at the code it should have been if main.exe did execute. Could be strange file name with plus sign idk.

目前来说一切正常了,等下次出现异常情况时我会继续向你反馈

@tigros
Copy link
Owner

tigros commented Oct 26, 2024

did add check if generated output after main.exe exits in version 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants