v1.8.0

Huanshere/VideoLingov1.8.0Nov 13, 2024by Huanshere

AI Summary

An update focused on code optimization and translation improvements, removing external API dependencies and adjusting transcription defaults.

Key Highlights

  • Refined code structure and translation prompts
  • Improved fuzzy and precise matching
  • Removed WhisperX Replicate API support
  • Disabled Demucs by default to improve speed

Breaking Changes

  • Removed support for the whisperX replicate API
  • Disabled Demucs vocal separation by default

Full Release Notes

## Release Notes

🔧 **Improvements:**

*   Refined and optimized the overall code structure for better performance and maintainability.
*   Enhanced the prompt to be more concise and applicable to a wider range of models.
*   Improved fuzzy and precise matching in translation processes.

🐛 **Bug Fixes:**

*   Fixed several errors occurring during the FFmpeg compression process.
*   Resolved an issue with phrase errors caused by lack of initialization and null returns from model translations.

📝 **Updates:**

*   Demucs vocal separation is no longer performed by default before transcription, addressing the issue of missing sentences and improving processing speed.
*   Removed support for the whisperX replicate API to simplify the project as an open-source initiative.
*   Adjusted the translation process to handle smaller segments, reducing the likelihood of errors.

---

## 发布说明

🔧 **改进:**

*   精简优化了整体代码结构,提高了性能和可维护性。
*   优化了提示词,使其更加精简,适用于更多模型。
*   改进了翻译过程中的模糊和精确匹配。

🐛 **问题修复:**

*   修复了在 FFmpeg 压制过程中发生的一些错误。
*   解决了由于未初始化和模型翻译返回空值导致的 phrase 错误。

📝 **更新:**

*   默认不在转录前进行 Demucs 人声分离,以解决遗漏句子的问题并提高处理速度。
*   删除了 whisperX replicate API 的支持,以简化开源项目。
*   调整翻译过程为处理更小的块,减少错误的可能性。