[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:59:50 CET 2016


On Sun, Jan 31, 2016 at 03:33:00PM +0100, Mats Peterson wrote:
> On 01/31/2016 03:29 PM, Michael Niedermayer wrote:
> >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
> 
> Since this is the way FFmpeg works, there is no way around it.
> Unfortunately.

ffmpeg source is not unchanegable,
if you belive that pal8 should be used in place of monochrome you
could certaily make the code act more reasonable with a 2 entry
(black+white) PAL8


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- 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/ec923805/attachment.sig>


More information about the ffmpeg-devel mailing list