Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UVR转码失败 #584

Closed
pek77 opened this issue Feb 23, 2024 · 2 comments
Closed

UVR转码失败 #584

pek77 opened this issue Feb 23, 2024 · 2 comments

Comments

@pek77
Copy link

pek77 commented Feb 23, 2024

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都无效

@SapphireLab
Copy link
Contributor

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

@pek77
Copy link
Author

pek77 commented Feb 24, 2024

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

是mp4转码m4a,mp3的音频。查看了下:librosa/librosa#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 pek77 closed this as completed Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants