FFmpeg视频文件转化为gif
ffmpeg -ss 00:00:31 -to 00:00:43 -i "D:\Desktop\Video_2020-05-02_214346.wmv" -vf "fps=10,scale=1628:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "D:\Desktop\Video_2020-05-02_212451.gif"
ffmpeg -ss 00:00:31 -to 00:00:43 -i "D:\Desktop\Video_2020-05-02_214346.wmv" -vf "fps=10,scale=1628:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "D:\Desktop\Video_2020-05-02_212451.gif"