v3.29

jianchang512/pyvideotransv3.29Dec 4, 2024by jianchang512

AI Summary

Fixes various bugs including 'ext is not defined', Funasr model download issues, and Tencent translation errors. It also introduces global re-punctuation and multi-processing for subtitle alignment.

Key Highlights

  • Fix 'ext is not defined' error
  • Fix Funasr model download issue
  • Fix Tencent translation dict error
  • Global 'Re-punctuation' feature for all languages
  • Multi-processing for subtitle alignment

New Features

  • Global 'Re-punctuation' feature

Full Release Notes

> 预打包版仅适用于Windows10/11,MacOS和Linux请源码部署
> MacOS/Linux升级:重新拉取源码覆盖,然后执行
>  `pip3 install --upgrade openai-whisper elevenlabs` 
>  `pip3 install --no-deps  --force-reinstall "faster-whisper @ https://github.com/SYSTRAN/faster-whisper/archive/refs/heads/master.tar.gz"`

- Fix: `ext` is not defined
- Fix: 视频慢速处理时,默认不硬件加速,避免兼容错误,可通过高级选项--视频输出-启用慢速时硬件加速 来启用
- Fix: 修复Funasr无法下载模型问题
- Fix: 腾讯翻译dict报错 
- Fix: 优化视频慢速算法
- Fix: 中文重新断句 改为 重新断句,对所有语言生效
- Fix: 声画字幕对齐采用多进程以加快速度


## Win v3.33 完整包下载

> 如果未安装过旧版本,请在此下载完整版,如需cuda加速,需有英伟达显卡并且安装cuda12.x及cudnn9


百度网盘下载地址(含tiny/medium模型):  https://pan.baidu.com/s/1ukV_V-mWvxxd7Te5xIYFpg?pwd=9f55

GitHub下载地址(仅含tiny模型):  https://github.com/jianchang512/pyvideotrans/releases/download/v3.29/win-videotrans-v3.33-tiny.7z

 

## v3.33补丁包160MB

> 如果已安装过2.x版本,可下载补丁包后解压在sp.exe所在目录,覆盖已有sp.exe和文件夹

百度网盘下载地址:  https://pan.baidu.com/s/1sYJ0UV3LhhRrWl1_yY_UmQ?pwd=3q8f

GitHub地址: https://github.com/jianchang512/pyvideotrans/releases/download/v3.29/win-PatchUpdate-3.33.7z


> 若补丁覆盖后打开提示`需下载完整包`,请升级显卡驱动、升级cuda到12.x、升级cudnn到cudnn9,并重新下载完整包,然后再使用该补丁包覆盖。
> 
> 或下载该压缩包 https://pan.baidu.com/s/1LOjr9ampzqp7eBrjNgSTHQ?pwd=wrkn   解压后(也可从此地址下载  
 https://github.com/jianchang512/pyvideotrans/releases/download/v3.15/cuda-torch-pathupdate.7z  ),复制其内的 `_internal`文件夹覆盖软件目录内的`_internal`文件夹 


## 由 v3.31升级到v3.33专用补丁包

https://github.com/jianchang512/pyvideotrans/releases/download/v3.29/v3.31--to--v3.33.7z

----

### 所有模型下载地址

为避免压缩包体积过大,预打包版只内置最小模型 tiny,识别效果不佳,效果更好的模型请点击下载 ,建议至少使用medium模型,推荐large-v2

https://github.com/jianchang512/stt/releases/tag/0.0


----

api.exe 下载,api.exe是用于通过http请求调用的文件,不可独立使用,需先下载完整包,然后下载api.exe和 sp.exe放在同一目录下
 
api.exe下载地址:https://github.com/jianchang512/pyvideotrans/releases/download/v3.29/api.exe