[FFmpeg-user] grayscale video streaming in ffmpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 12 23:49:26 CEST 2012


Marc Elliott <elliott2w1 <at> gmail.com> writes:

> How do you take advantaget of the -pix_fmt flag in ffmpeg 
> in order to specify the pixel formats GRAY8, GRAY16LE,
> and GRAY16BE?

The tiff, png, sgi, jpegls, pam and libopenjpeg encoders 
support both gray and gray16, you can also use ffv1 if 
you also receive with FFmpeg.
(Some more encoders - qtrle - support gray but not gray16.)

Carl Eugen



More information about the ffmpeg-user mailing list