Ask Your Question

Revision history [back]

How to set pixel format for VideoWriter?

FFMpeg allows to specify the pixel format for encoder with the -pix_fmt command line option. Is it possible to do similar for VideoWriter (assuming an ffmpeg backend)?