Use FFMPEG (free software) to create high quality animated gifs in one command
Link to FFMPEG: https://ffmpeg.org/download.html
An excellent video on how to install and set up FFMPEG: • Install FFmpeg on Windows 10 - 2019
Command used to create a high quality gif "Cool Video.gif" from a video file "Cool Video.mp4":
ffmpeg -i "Cool Video.mp4" -filter_complex "scale=w=640:-1,fps=15,split=2[a][b];[a]palettegen[c];[b][c]paletteuse" "Cool Video.gif"
feel free to change the "640" for the video width and the "15" for the fps