dunnousername / yanderifier

First-Order-Wrapper (formerly known as Yanderify) is a front-end tool for first-order-motion. It aims to make using first-order-motion face animation accessible to everyone, for education and entertainment.
1.74k stars 290 forks source link

Yanderify Crashed! #25

Open ChunkyMilk12 opened 4 years ago

ChunkyMilk12 commented 4 years ago

Was trying to use 3.0.5 and it came up with this error: Yanderify Crashed! This section contains the details the devs need to fix this issue. If you are reporting a bug, please include this entire section. If you leave out any of it, there is a good chance the devs will not be able to help. Error: received a OSError at stage "predict". Message: "[Errno 22] Invalid argument

FFMPEG COMMAND: D:\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 2576x1936 -pix_fmt rgb24 -r 29.97 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning D:\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT: " Full traceback: File "yanderify.py", line 221, in worker_thread vid1.append_data(img_as_ubyte(resize(frame, size)))

File "D:\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data return self._append_data(im, total_meta)

File "D:\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data raise IOError(msg)

cpu=0 {C:/Users/jayde/Pictures/Video Projects/dame da ne source.mp4} {C:/Users/jayde/Pictures/lachlan the cringe lord yasuo.jpg} {D:/Deepfakes/lachlan baka mitai.mp4}

Any Idea on how to fix this?

HaedenVideos2 commented 4 years ago

im having the same issue too

josephyooo commented 4 years ago

same

jmeinlschmidt commented 3 years ago

Possible cause: Source image size

Mine crashed while using approx 17mb source image (5000x5000px) and 3mb source video (240x240px). I resized the source image size to 1240x1240px (~200kb JPEG) and the problem was solved.