
A value of 0 is infinite looping, -1 is no looping, and 1 will loop once meaning it will play twice.

split filter will allow everything to be done in one command and avoids having to create a temporary PNG file of the palette.Also see the Advanced options section below. These filters have many options, so refer to the links for a list of all available options and values.


vf "fps=10,scale=320:-1:flags=lanczos,split palettegen paletteuse" \ Before you start it is always recommended to use a recent version: download or compile.
