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

视频字幕画面对齐功能里两个小问题 #710

Open
Sally-fyk opened this issue Jan 17, 2025 · 0 comments
Open

视频字幕画面对齐功能里两个小问题 #710

Sally-fyk opened this issue Jan 17, 2025 · 0 comments

Comments

@Sally-fyk
Copy link

Sally-fyk commented Jan 17, 2025

出错信息
出错时软件界面完整截图,以及提示框或控制台报错信息。

if is_start and nonsilent_chunks[0] and nonsilent_chunks[0][0] > 0:

if is_start and nonsilent_chunks[0] and nonsilent_chunks[0][0] > 0:

is_start是一个未定义的变量吗?编译器报错了,导致这个文件处理视频的功能不成功。

if config.settings['remove_white_ms'] > 0:

if config.settings['remove_white_ms'] > 0:

移除两条字幕间空白参数,应该是支持-1 全部移除的。这块判断为什么不支持-1呀?

以上两行代码我手动改了以后,使用gemini模型成功加速了翻译后的字幕和配音。之前怎么调参数都不管用

复现步骤

  1. 使用的哪个功能
  2. faster模式/openai模式?
  3. 使用的模型名

操作系统

  • Windows/Linux/MacOS

软件左上角版本号数字

@Sally-fyk Sally-fyk changed the title _rate.py 方法里两个小问题 视频字幕画面对齐功能里两个小问题 Jan 17, 2025
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

1 participant