TimoBolkart / voca

This codebase demonstrates how to synthesize realistic 3D character animations given an arbitrary speech signal and a static character mesh.
https://voca.is.tue.mpg.de/en
1.14k stars 271 forks source link

win10 system problem:voca-master\FLAME_eye_blink\tmp9_oymmsq.mp4: No such file or directory #70

Open DidaDidaDidaD opened 3 years ago

DidaDidaDidaD commented 3 years ago

My system is win10,when i visualize the sequences,i met this problem: voca-master\FLAME_eye_blink\tmp9_oymmsq.mp4: No such file or directory. My command is below: python visualize_sequence.py --sequence_path FLAME_eye_blink/meshes --audio_fname audio/test_sentence.wav --out_path FLAME_eye_blink --uv_template_fname template/texture_mesh.obj --texture_img_fname template/texture_mesh.png Is anybody else has the same problem? How to solve it

DidaDidaDidaD commented 3 years ago

By the way ,the whole paragragh is below: (venv) D:\学习资料\语音口型资料\voca-master>python visualize_sequence.py --sequence_path FLAME_eye_blink/meshes --audio_fname audio/test_sentence.wav --out_path FLAME_eyeblink --uv template_fname template/texture_mesh.obj --texture_img_fname template/texture_mesh.png 2021-04-27 17:22:58.211253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll ffmpeg version n4.4-6-g7e9b9f24df Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10-win32 (GCC) 20210408 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enab le-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma - -enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffn vcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libw ebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 - -enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --e nable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Guessed Channel Layout for Input Stream #0.0 : mono Input #0, wav, from 'audio/test_sentence.wav': Duration: 00:00:05.10, bitrate: 352 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22000 Hz, mono, s16, 352 kb/s D:\学习资料\语音口型资料\voca-master\FLAME_eye_blink\tmp9_oymmsq.mp4: No such file or directory

DidaDidaDidaD commented 3 years ago

The route is changed into English, the error is: (venv) D:\xuexiziliao\yuyinkouxingziliao\voca-master>python visualize_sequence.py --sequence_path FLAME_eye_blink/meshes --audio_fname audio/test_sentence.wav --out_path FLAME_eye_bl ink --uv_template_fname template/texture_mesh.obj --texture_img_fname template/texture_mesh.png 2021-04-27 22:00:53.352324: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll ffmpeg version n4.4-6-g7e9b9f24df Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10-win32 (GCC) 20210408 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enab le-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma - -enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffn vcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libw ebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 - -enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --e nable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Guessed Channel Layout for Input Stream #0.0 : mono Input #0, wav, from 'audio/test_sentence.wav': Duration: 00:00:05.10, bitrate: 352 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22000 Hz, mono, s16, 352 kb/s D:\xuexiziliao\yuyinkouxingziliao\voca-master\FLAME_eye_blink\tmpezalo_ae.mp4: Permission denied

TimoBolkart commented 2 years ago

This seems to be some problem with file access. The video export first exports a temporary video file for the rendering and then combines it with the audio and outputs the final video. You seem to have no access on the temporary written video file. Did you check if the temporary video file exists and can be played with some video player? I have never tried to run VOCA under Windows, so there could be compatibility issues with the video export.

mahdi943 commented 2 years ago

Hello, I am using Windows 10; I need installation instructions on Windows 10. Could you please help me with that? Also, I have a problem installing "mesh processing libraries from MPI-IS/mesh within the virtual environment".

lanyuer commented 2 years ago

This maybe a problem caused by tempfile on Windows. https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file

Turn to 'utils/inference.py',

image