Closed mattdesl closed 2 years ago
Update: this seems to be a mixture of two issues - 1 is that ffmpeg logs are hidden by default, so it's difficult to debug, and 2 is that odd size dimensions can crash ffmpeg (for some reason, only after a hundred or so frames are buffered into the mp4). The fix for now is to use even dimensions (e.g. 512x512) for video. You can also use FFMPEG_DEBUG=1
env var though it's more difficult to set on Windows.
Should probably do an overhaul of the ffmpeg and middleware utils with some new considerations, async syntax, etc.
I think this might be fixed in latest version. Please update and comment if you see it again.
If you've previously installed the CLI tool globally:
npm install canvas-sketch-cli@latest --global
Or locally:
npm install canvas-sketch-cli@latest --save-dev
Let me know if any issues persist.
Some users report an error like this:
Working on some changes that might help debug this a bit better.