ffmpeg -i "oCam 56.mp4" -vf "setpts=0.25*PTS,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen=stats_mode=diff[p];[s1][p]paletteuse=new=1" -r 30 "oCam 56.gif"
ffmpeg -i "oCam 56.mp4" -vf "setpts=0.25*PTS,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen=stats_mode=diff[p];[s1][p]paletteuse=new=1" -r 30 "oCam 56.gif"