I've made a short script to convert all .webm files in a directory into .gif files...
forfiles /s /m *.webm /c "cmd /c ffmpeg -y -i "@FILE" -lavfi palettegen=stats_mode=single[pal],[0:v][pal]paletteuse=new=1 -y "GIF_@FNAME".gif"
I've tried to add "paletteuse=dither=bayer:bayer_scale=3" in several ways like...
...[0:v][pal]paletteuse=new=1,[1:v][pal]paletteuse=dither=bayer...
but I can't seem to figure it out.
I do have this other script which works with the dithering but the color range is less than I would like it to be...
forfiles /s /m *.webm /c "cmd /c ffmpeg -y -i "@FILE" -vf palettegen palette.png && ffmpeg -i "@FILE" -i palette.png -filter_complex paletteuse=dither=bayer:bayer_scale=3 -r 60 "GIF_@FNAME".gif"
Any help is appreciated