tj / node-gify

Convert videos to gifs using ffmpeg and gifsicle
297 stars 35 forks source link

Command failed on Windows #13

Open felixpis opened 6 years ago

felixpis commented 6 years ago

I've got "Command failed" error when running this on Windows. Looks like the reason that you try to create temp images in /tmp/[uid]/ folder. But on windows "tmp" refers to C:\Users\name\AppData\Local\Temp Tried to remove tmp from environment variables user/system, but it doesn't help. Is it possible to add functionality to to pass tmp folder in config? 10x in advance!

After some review looks like this happens only in git bash on windows. But in cmd the problem is that file path surrounded by single quotes and this not working in cmd

paintoshi commented 3 years ago

I would like this solved as well. Can't find a way around it and gify was the only package I found able to convert mp4 to gif in node. Works fine in WSL2 and Ubuntu though.