raise ValueError("ffmpeg was not found but is required to load audio files from filename") from error ValueError: ffmpeg was not found but is required to load audio files from filename
上述问题是在推理时出现的,即infer_pipe(),我是在windows上进行推理出现问题。
解决办法:在windows上安装FFmpeg即可。安装地址为:Download FFmpeg
1、下载图2中的文件,解压;
2、在系统属性中的系统变量的path中将bin目录配置;
3、重启后,盖错误就可解决