GPT-SoVITS icon indicating copy to clipboard operation
GPT-SoVITS copied to clipboard

UVR转码失败

Open pek77 opened this issue 1 year ago • 1 comments

Running on local URL:  http://0.0.0.0:9874
"/home/ubuntu/GPT-SoVITS/venv/bin/python" tools/uvr5/webui.py "cuda" True 9873 False
Running on local URL:  http://0.0.0.0:9873
/home/ubuntu/GPT-SoVITS/venv/lib/python3.10/site-packages/librosa/util/decorators.py:88: UserWarning: PySoundFile failed. Trying audioread instead.
  return f(*args, **kwargs)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 386/386 [00:24<00:00, 16.07it/s]
Killed

源文件为mp4转吗m4a,mp3,wav都无效

pek77 avatar Feb 23 '24 04:02 pek77

视频文件mp4? 可以考虑先用ffmpeg提取音频再进行uvr

SapphireLab avatar Feb 23 '24 12:02 SapphireLab

视频文件mp4? 可以考虑先用ffmpeg提取音频再进行uvr

是mp4转码m4a,mp3的音频。查看了下:https://github.com/librosa/librosa/issues/1015

根据这句话:Librosa tries to use libsndfile first, and if that fails, it will fall back on the audioread package, which is a bit slower and more brittle, but supports more formats.

感觉还是性能问题,升级机型后32GB内存就没问题了

pek77 avatar Feb 24 '24 11:02 pek77