[GH-ISSUE #98] 步骤0加载不到音频提示File Not Found #27

Closed
opened 2026-10-20 09:54:16 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @MagicGJ on GitHub (Apr 18, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/98

Use Language: zh_CN
Running on local URL:  http://0.0.0.0:7865
start preprocess
['trainset_preprocess_pipeline_print.py', 'E:\\BaiduYunDownload\\ayakaVoice', '40000', '12', 'E:\\PycharmProjects\\Retrieval-based-Voice-Conversion-WebUI/logs/test', 'False']
E:\BaiduYunDownload\ayakaVoice/1.wav->Traceback (most recent call last):
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
    ffmpeg.input(file, threads=0)
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 313, in run
    process = run_async(
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
    return subprocess.Popen(
  File "e:\anaconda3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "e:\anaconda3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 73, in pipeline
    audio = load_audio(path, self.sr)
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
    raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: [WinError 2] 系统找不到指定的文件。

E:\BaiduYunDownload\ayakaVoice/20.wav->Traceback (most recent call last):
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio
    ffmpeg.input(file, threads=0)
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 313, in run
    process = run_async(
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
    return subprocess.Popen(
  File "e:\anaconda3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "e:\anaconda3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 73, in pipeline
    audio = load_audio(path, self.sr)
  File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio
    raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: [WinError 2] 系统找不到指定的文件。

.........以下省略

一开始以为是我带了中文路径,但是把名字改了之后似乎还是不行..

Originally created by @MagicGJ on GitHub (Apr 18, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/98 ``` Use Language: zh_CN Running on local URL: http://0.0.0.0:7865 start preprocess ['trainset_preprocess_pipeline_print.py', 'E:\\BaiduYunDownload\\ayakaVoice', '40000', '12', 'E:\\PycharmProjects\\Retrieval-based-Voice-Conversion-WebUI/logs/test', 'False'] E:\BaiduYunDownload\ayakaVoice/1.wav->Traceback (most recent call last): File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio ffmpeg.input(file, threads=0) File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 313, in run process = run_async( File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 284, in run_async return subprocess.Popen( File "e:\anaconda3\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "e:\anaconda3\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 系统找不到指定的文件。 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 73, in pipeline audio = load_audio(path, self.sr) File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio raise RuntimeError(f"Failed to load audio: {e}") RuntimeError: Failed to load audio: [WinError 2] 系统找不到指定的文件。 E:\BaiduYunDownload\ayakaVoice/20.wav->Traceback (most recent call last): File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 14, in load_audio ffmpeg.input(file, threads=0) File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 313, in run process = run_async( File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\.venv\lib\site-packages\ffmpeg\_run.py", line 284, in run_async return subprocess.Popen( File "e:\anaconda3\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "e:\anaconda3\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 系统找不到指定的文件。 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\trainset_preprocess_pipeline_print.py", line 73, in pipeline audio = load_audio(path, self.sr) File "E:\PycharmProjects\Retrieval-based-Voice-Conversion-WebUI\my_utils.py", line 19, in load_audio raise RuntimeError(f"Failed to load audio: {e}") RuntimeError: Failed to load audio: [WinError 2] 系统找不到指定的文件。 .........以下省略 ``` 一开始以为是我带了中文路径,但是把名字改了之后似乎还是不行..
Author
Owner

@RVC-Boss commented on GitHub (Apr 19, 2023):

我应该如何复现你的bug?

<!-- gh-comment-id:1514033655 --> @RVC-Boss commented on GitHub (Apr 19, 2023): 我应该如何复现你的bug?
Author
Owner

@OedoSoldier commented on GitHub (Apr 19, 2023):

安装FFMPEG

<!-- gh-comment-id:1514907482 --> @OedoSoldier commented on GitHub (Apr 19, 2023): 安装FFMPEG
Author
Owner

@MagicGJ commented on GitHub (Apr 19, 2023):

安装FFMPEG

确实是FFMPEG问题,重装了一下就好了,谢谢

<!-- gh-comment-id:1515014906 --> @MagicGJ commented on GitHub (Apr 19, 2023): > 安装FFMPEG 确实是FFMPEG问题,重装了一下就好了,谢谢
Author
Owner

@iielse commented on GitHub (Mar 11, 2024):

安装FFMPEG

确实是FFMPEG问题,重装了一下就好了,谢谢

这句话能细说操作步骤吗?谢谢

<!-- gh-comment-id:1987710201 --> @iielse commented on GitHub (Mar 11, 2024): > > 安装FFMPEG > > 确实是FFMPEG问题,重装了一下就好了,谢谢 这句话能细说操作步骤吗?谢谢
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#27
No description provided.