#2072 (pyvideotrans) PS D:\MyGithubClone\pyvideotrans> uv run sp.pySet default paramsBind signal...For Windows systems, ple

58.152* Posted at: 12 hours ago 👁18

(pyvideotrans) PS D:\MyGithubClone\pyvideotrans> uv run sp.py
Set default params
Bind signal...
For Windows systems, please download the file, extract it, and place it in the ffmpeg folder in the current directory. Use a better audio acceleration algorithm
https://breakfastquay.com/files/releases/rubberband-4.0.0-gpl-executable-windows.zip
MacOS: brew install rubberband and uv add pyrubberband Use a better audio acceleration algorithm
Ubuntu: sudo apt install rubberband-cli libsndfile1-dev and uv add pyrubberband Use a better audio acceleration algorithm
Load torch...
end
self.proxy_str='http://127.0.0.1:10808',self.uuid=None
self.proxy_str='http://127.0.0.1:10808',self.uuid=None
进入执行分离阶段 trk.shoud_recogn=True
应该送入语音识别队列 trk.shoud_recogn=True
进入执行分离阶段 trk.shoud_recogn=True
进入执行语音识别阶段
self.proxy_str='http://127.0.0.1:10808',self.uuid='04de2f5ec7'
应该送入语音识别队列 trk.shoud_recogn=True
D:\MyGithubClone\pyvideotrans.venv\lib\site-packages\ctranslate2\__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools

1 Replies

问题核心是语音识别时找不到临时生成的音频文件 13 - Fluid Simulations made easy - 12 Particle Collisions-1765890246.8478472.wav。这通常与文件路径过长或包含特殊字符有关,尤其是在批量处理时。

请按以下步骤解决:

  1. 重命名源文件:将你的视频/音频文件重命名为简短、纯英文、无空格和特殊符号的名称(例如 video1.mp4)。
  2. 移动文件位置:将文件移动到路径更短的目录,例如 D:\tmp\
  3. 清理缓存:在 pyVideoTrans 主界面,确保勾选了 “清理已生成” 选项,然后重新处理。
  4. 检查临时目录权限:确保软件安装目录(D:\MyGithubClone\pyvideotrans)及其下的 tmp 文件夹有完整的读写权限。

如果问题依旧,请提供 D:\MyGithubClone\pyvideotrans\logs\ 目录下的最新日志文件,以便进一步分析。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions