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

源码中调用的fasterWhisper的vad参数问题 #299

Closed
xueli12 opened this issue Feb 1, 2025 · 5 comments
Closed

源码中调用的fasterWhisper的vad参数问题 #299

xueli12 opened this issue Feb 1, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@xueli12
Copy link

xueli12 commented Feb 1, 2025

问题描述 | Problem Description

1.如果不启用vad,--vad_filter参数需显示指定为false,卡卡助手源码中没有显示传递false。

底层的转录xxl.exe中的用法是:--vad_filter VAD_FILTER, -vad VAD_FILTER
启用语音活动检测(VAD)以过滤掉音频中无语音的部分。(默认值:True)

2.转录xxl.exe中的--vad_method的默认值:silero_v4_fw在卡卡助手中无法选择,该方法是作者推荐的选项,相较于其他方法准确度更高。

3.转录xxl.exe已经更新了新版本,需更新下载链接

日志信息(可选)| Logs (Optional)

@xueli12 xueli12 added the bug Something isn't working label Feb 1, 2025
@xueli12 xueli12 changed the title 源码中的vad参数问题 源码中调用的fasterWhisper的vad参数问题 Feb 1, 2025
@philpw99
Copy link

philpw99 commented Feb 2, 2025

我的分支已经改好了:
https://github.com/philpw99/VideoCaptioner/releases/tag/v1.2.0_2.2

@philpw99
Copy link

philpw99 commented Feb 2, 2025

今天刚想用它来转录一下个中文电影,发现原本的设定是错的,看来要生成中文电影的字幕还要等下一版本了。

@xueli12
Copy link
Author

xueli12 commented Feb 2, 2025

今天刚想用它来转录一下个中文电影,发现原本的设定是错的,看来要生成中文电影的字幕还要等下一版本了。

哪里错了呢? 设置了中文后,命令行是传递参数-l zh了呀

@philpw99
Copy link

philpw99 commented Feb 3, 2025

哪里错了呢? 设置了中文后,命令行是传递参数-l zh了呀

不好意思,是我自己魔改之后反而错的,不是原本WEIFENG大哥出的错。
还是用新的比较靠谱,外加搜索替换功能
然后现在“单句翻译”可以用上 DeepSeek R1 了
https://github.com/philpw99/VideoCaptioner/releases/tag/v1.2.0_2.4

@WEIFENG2333
Copy link
Owner

WEIFENG2333 commented Feb 5, 2025

1.如果不启用vad,--vad_filter参数需显示指定为false,卡卡助手源码中没有显示传递false。

确实是有问题,我已经改过来了,显式添加 --vad_filter false

2.转录xxl.exe中的--vad_method的默认值:silero_v4_fw在卡卡助手中无法选择,该方法是作者推荐的选项,相较于其他方法准确度更高。

Image

相关内容已经更改,等带新版本推送到新机卡。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants