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

Michael Niedermayer michael at niedermayer.cc
Sun Jan 31 15:29:59 CET 2016

On Sun, Jan 31, 2016 at 03:22:57PM +0100, Mats Peterson wrote:
> 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.

less than one out of a hundread users would realize that
also it does feel unclean to me to convert monochrome to pal8 in
the decoder and then require the user to manually force convertion
of paletted data back to monochrome

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160131/9f518625/attachment.sig>

More information about the ffmpeg-devel mailing list