[FFmpeg-user] How to use the diff of palettegen with screen capturen
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Mar 24 09:43:24 EET 2021
Am Mi., 24. März 2021 um 08:38 Uhr schrieb jun li <publicforlijun at gmail.com>:
>
> ffmpeg -f gdigrab -framerate 30 -i desktop -ss 1 -lavfi
> palettegen=stats_mode=*diff*:transparency_color=ffffff[pal],[0:v][pal]paletteuse=new=1:dither=bayer:bayer_scale=1
> default.gif
This is not how palettegen / paletteuse work, see:
https://ffmpeg.org/ffmpeg-filters.html#palettegen-1
The examples you found only work for short input files.
For future questions:
Never attach screen shots, post the complete, uncut console
output as text instead.
Carl Eugen
More information about the ffmpeg-user
mailing list