OpenTalker / SadTalker

[CVPR 2023] SadTalker:Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation
https://sadtalker.github.io/
Other
11.72k stars 2.18k forks source link

大佬们,,这个ffmpg 这个怎么解决啊? #811

Open jerryyu168 opened 7 months ago

jerryyu168 commented 7 months ago

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\SadTalker\python\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "D:\SadTalker\python\lib\site-packages\gradio\blocks.py", line 1321, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "D:\SadTalker\python\lib\site-packages\gradio\blocks.py", line 1171, in preprocess_data processed_input.append(block.preprocess(inputs[i])) File "D:\SadTalker\python\lib\site-packages\gradio\components.py", line 2463, in preprocess sample_rate, data = processing_utils.audio_from_file( File "D:\SadTalker\python\lib\site-packages\gradio\processing_utils.py", line 143, in audio_from_file raise RuntimeError(msg) from e RuntimeError: Cannot load audio from file: ffprobe not found. Please install ffmpeg in your system to use non-WAV audio file formats and make sure ffprobe is in your PATH.

kiyoryu666 commented 7 months ago

我是Mac系统,跟你也是同样的问题。求大佬支招,已经无解。

nitinmukesh commented 7 months ago

@jerryyu168 Follow this to install FFMpeg https://youtu.be/SIwfW3MAp6w?si=riBY9u7uBKVJd7Nw

mingxuan-he commented 7 months ago

我刚遇到一样的问题了。。ffmpeg安装了,路径也在path里, CLI检查也通过了:

E:\SD>ffprobe -version
ffprobe version 2024-02-29-git-4a134eb14a-full_build-www.gyan.dev Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      58. 39.100 / 58. 39.100
libavcodec     60. 40.100 / 60. 40.100
libavformat    60. 22.101 / 60. 22.101
libavdevice    60.  4.100 / 60.  4.100
libavfilter     9. 17.100 /  9. 17.100
libswscale      7.  6.100 /  7.  6.100
libswresample   4. 13.100 /  4. 13.100
libpostproc    57.  4.100 / 57.  4.100

用的是sd webui, win 10系统