```log $ ffmpeg -r 26 -i %05d.png -plays 0 -pred 5 -f apng -vf "scale=320:320" -pix_fmt monob output.png -r framerate -i input (%05d = zero-padded digit) -plays APNG loop mode 0 = infinite loop 1 = no loop 2-65535 = n loops -pred PNG filter algorithm 0 = none - the scanline is transmitted unmodified 1 = sub - transmits the difference between each byte and the value of the corresponding byte of the prior pixel 2 = up - just like the Sub filter except that the pixel immediately above the current pixel, is used 3 = avg - uses the average of the two neighboring pixels (left and above) to predict the value of a pixel 4 = paeth - computes a simple linear function of the three neighboring pixels 5 = mixed - uses the best filter algorithm for each line (usually has better compression) -f format -vf video filter (comma-separated) - scale=widht:height -pix_fmt pixel format / color depth monob = 8-bit monochrome ```