[FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

Mats Peterson matsp888 at yahoo.com
Sun Jan 31 15:22:57 CET 2016


On 01/31/2016 03:20 PM, Michael Niedermayer wrote:
> but
> converting from monochrome avis/nuts/others? to other formats would
> not store monochrome but paletted or RGB then
>
> heres an example with tiff:
>
> ./ffmpeg      -i test.avi -vframes 1 test.tiff
> ./ffmpeg-ref  -i test.avi -vframes 1 test-ref.tiff
>
> -rw-r----- 1 michael michael  804 Jan 31 15:15 test-ref.tiff

Yes it would, but just force -pix_fmt monow then.

Mats



More information about the ffmpeg-devel mailing list