jpeg2000


The native jpeg 2000 encoder is lossy by default, the -q:v option can be used to set the encoding quality. Lossless encoding can be selected with -pred 1.

'format'

Can be set to either j2k or jp2 (the default) that makes it possible to store non-rgb pix_fmts.