Open ChunkyMilk12 opened 4 years ago
im having the same issue too
same
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.
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)
Any Idea on how to fix this?