Skip to content

关于音频加载失败 #2316

@zhixuan45

Description

@zhixuan45

说明:在a卡环境下进行的,相关教程

Traceback (most recent call last):
  File "/home/zhixuan/GPT-SoVITS/tools/my_utils.py", line 21, in load_audio
    ffmpeg.input(file, threads=0)
AttributeError: module 'ffmpeg' has no attribute 'input'
/home/zhixuan/sounds/遐蝶-崩坏_星穹铁道WIKI-开拓者笔记-米游社-1.wav ->fail-> Traceback (most recent call last):
  File "/home/zhixuan/GPT-SoVITS/tools/my_utils.py", line 21, in load_audio
    ffmpeg.input(file, threads=0)
AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/zhixuan/GPT-SoVITS/tools/slice_audio.py", line 35, in slice
    audio = load_audio(inp_path, 32000)
  File "/home/zhixuan/GPT-SoVITS/tools/my_utils.py", line 27, in load_audio
    raise RuntimeError(i18n("音频加载失败"))
RuntimeError: 音频加载失败

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions