yi1802334 2025-10-26 12:26 采纳率: 88%
浏览 5

电脑软件potplayer转换字幕失败

img

potplayer照着B站博主搞得 还是不行 有谁知道怎么办呀?
Model not found at: D:\PotPlayer\Model\faster-whisper-large-v2
Attempting to download:
An error occured while synchronizing the model Systran/faster-whisper-large-v2 from the Hugging Face Hub:
(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v2/revision/main (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))"), '(Request ID: 605990a3-a9a5-4fda-9ab5-fee097f485fd)')
Trying to load the model directly from the local cache, if it exists.
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 467, in _make_request
File "urllib3\connectionpool.py", line 1092, in validate_conn
File "urllib3\connection.py", line 642, in connect
File "urllib3\connection.py", line 783, in ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 790, in urlopen
File "urllib3\connectionpool.py", line 491, in _make_request
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 486, in send
File "urllib3\connectionpool.py", line 844, in urlopen
File "urllib3\util\retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v2/revision/main (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "faster_whisper\utils.py", line 227, in download_model
File "huggingface_hub\utils_validators.py", line 118, in _inner_fn
File "huggingface_hub_snapshot_download.py", line 187, in snapshot_download
File "huggingface_hub\utils_validators.py", line 118, in _inner_fn
File "huggingface_hub\hf_api.py", line 2112, in repo_info
File "huggingface_hub\utils_validators.py", line 118, in inner_fn
File "huggingface_hub\hf_api.py", line 1921, in model_info
File "requests\sessions.py", line 600, in get
File "requests\sessions.py", line 587, in request
File "requests\sessions.py", line 701, in send
File "huggingface_hub\utils_http.py", line 63, in send
File "requests\adapters.py", line 517, in send
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v2/revision/main (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (ssl.c:1131)')))"), '(Request ID: 605990a3-a9a5-4fda-9ab5-fee097f485fd)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\whisper-fast_main
.py", line 1600, in
File "D:\whisper-fast_main
.py", line 1254, in cli
File "faster_whisper\utils.py", line 243, in download_model
File "huggingface_hub\utils_validators.py", line 118, in _inner_fn
File "huggingface_hub_snapshot_download.py", line 170, in snapshot_download
FileNotFoundError: [Errno 2] No such file or directory: 'D:\PotPlayer\Model\.cache\hub\models--Systran--faster-whisper-large-v2\refs\main'
[18624] Failed to execute script 'main' due to unhandled exception!


转换完成

  • 写回答

3条回答 默认 最新

  • 紫雾凌寒 新星创作者: 人工智能技术领域 2025-10-26 12:30
    关注

    让 “紫雾凌寒” 来帮你回答,本回答结合 DeepSeek

    如果还有问题,请评论或点击头像私信,如果有帮助到您, 请关注、采纳、点赞

    1. 关键点分析
      - 从报错信息“Model not found at: D:\PotPlayer\Model\faster - whisper - large - v2Attem”来看,主要问题是PotPlayer在指定路径找不到相关的模型文件,这可能导致字幕转换失败。
    2. 解决方案
      - 检查模型文件路径
      • 首先确认报错中提到的路径“D:\PotPlayer\Model\faster - whisper - large - v2Attem”是否正确。如果路径错误,需要找到正确的模型文件存放路径,并在PotPlayer中进行相应设置。
      • 例如,如果模型文件实际存放在“D:\PotPlayer\Model\faster - whisper - large - v2”,那么需要在PotPlayer的相关设置中修改为这个正确路径。
      • 确认模型文件是否存在
      • 检查指定路径下是否真的有“faster - whisper - large - v2”这个模型文件(如果实际路径是上述正确的那个)。如果没有,需要获取该模型文件并放置到正确路径。
      • 模型文件的获取可能需要从相关的开源项目网站下载,比如如果是基于某个开源的语音转字幕模型,要确保从官方或可靠的开源渠道获取,并按照其说明放置到正确位置。
      • 更新PotPlayer或相关组件
      • 有时候软件版本问题可能导致对某些模型的支持不完善。尝试更新PotPlayer到最新版本,看是否能解决找不到模型的问题。
      • 具体更新方法因软件版本而异,一般可以在PotPlayer的官方网站查找下载链接进行更新。
    3. 不同方案优缺点
      - 检查模型文件路径
      • 优点:简单直接,如果是路径设置错误,很容易快速定位并解决问题。
      • 缺点:如果模型文件本身缺失,只检查路径无法解决根本问题。
      • 确认模型文件是否存在
      • 优点:能从源头上解决模型缺失导致的问题。
      • 缺点:获取模型文件可能比较复杂,尤其是对于不熟悉开源项目和模型获取流程的用户。
      • 更新PotPlayer或相关组件
      • 优点:有可能通过更新修复软件对模型支持的漏洞。
      • 缺点:更新可能带来新的兼容性问题,而且不一定能完全解决当前模型找不到的问题。
    4. 总结
      - 解决PotPlayer转换字幕失败且出现模型找不到的问题,关键在于准确检查模型文件路径、确认文件是否存在以及考虑更新软件版本。通过逐步排查和处理这些方面,有望解决字幕转换失败的问题。

    需要注意的是,具体的模型文件获取和使用可能涉及到相关的开源协议和技术要求,确保在合法合规的前提下进行操作。

    希望以上解答对您有所帮助。如果您有任何疑问,欢迎在评论区提出。

    评论

报告相同问题?

问题事件

  • 修改了问题 10月26日
  • 创建了问题 10月26日