saifhassan / Wav2Lip-HD

High-Fidelity Lip-Syncing with Wav2Lip and Real-ESRGAN
Other
320 stars 75 forks source link

Cant create HD Video out of generated HD frames - No such file or directory #10

Closed cyzzion closed 1 year ago

cyzzion commented 1 year ago

you CLOSED my Last issue where the Problem was thad Wav2Lip-HD made all HD frames but they cant combine it to a Video. After trying your solution command:

ffmpeg -r 20 -i ${back_dir}/${frameshd}/${filename}/frame%05d_out.jpg -i ${back_dir}/${input_audios} -vcodec libx264 -crf 25 -preset veryslow -acodec copy ${back_dir}/${output_videos_hd}/${filename}.mkv

the respond was a new Error:

[image2 @ 000002aa5b0f3ac0] Could find no file with path '//frame_%05dout.jpg' and index in the range 0-4 //frame%05d_out.jpg: No such file or directory (python-wav2lip)

Any solution for this?

saifhassan commented 1 year ago

you CLOSED my Last issue where the Problem was thad Wav2Lip-HD made all HD frames but they cant combine it to a Video. After trying your solution command:

ffmpeg -r 20 -i ${back_dir}/${frameshd}/${filename}/frame%05d_out.jpg -i ${back_dir}/${input_audios} -vcodec libx264 -crf 25 -preset veryslow -acodec copy ${back_dir}/${output_videos_hd}/${filename}.mkv

the respond was a new Error:

[image2 @ 000002aa5b0f3ac0] Could find no file with path '//frame_%05dout.jpg' and index in the range 0-4 //frame%05d_out.jpg: No such file or directory (python-wav2lip)

Any solution for this?

it's a directory error, make sure you have existing directory containing HD-frames and audio for producing video.