On 02/05/2016 04:52 PM, Mats Peterson wrote:
patch applied, but i think theres more that needs fixing than pal8
in nut.
Most important is that the code which chooses the pixel format for
encoding end up choosing monowhite if the inut is PAL8 with 2 matching
colors.
Then decoders could output PAL8 but encoders would receve monow if
they support it and no changes would be needed per codec
I don't agree that monowhite should be used at all for palettized
formats like AVI and QuickTime. This is the umpteenth time I say this.
You don't seem to care about 2- or 4-bit files being converted to pal8,
so what's the big deal with 1-bit files? And don't give me the "file
explosion" thing again. Furthermore, everything else that concerns
palettized 1 bpp data in FFmpeg (QuickTime raw/RLE and BMP) is currently
(correctly) converted to pal8
Mats
For formats like TIFF or nut B1W0/B0W1 which use BLACK & WHITE
EXPLICITLY, monowhite or monoblack is justified, otherwise not.
Mats
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel