Fork of gif-video; so credit for original source goes to Hugh Kennedy.
I just got the old code running again with a simpler API.
const convertGifToWebm = ;; // Writes cats.webm. Warning! Clobbers!
Expects that ffmpeg is in your PATH
with
WebM support.
Homebrew
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aacc
Fedora
sudo dnf install -y ffmpeg