id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1286	qt tiff pal8 enc: wrong colors in qt	ami_stuff		"I have tried to find out why mov tiff pal8 files doesn't decode with correct colors in qt
(probably the same reason would be for png/tga pal8 in mov).

pal8_qt.tif - tiff 8bpp exported from qt


ffmpeg -i pal8_qt.tif -vcodec tiff -pix_fmt pal8 pal8.mov - decodes with correct colors in qt (no swscale)

(
or 

ffmpeg -i pal8_qt.tif -pix_fmt pal8 pal8_ff.tif
ffmpeg -i pal8_ff.tif -vcodec tiff -pix_fmt pal8 pal8.mov - decodes with correct colors in qt (no swscale)
}



ffmpeg -i pal8_qt.tif -pix_fmt rgb24 rgb24.tif
ffmpeg -i rgb24.tif -vcodec tiff -pix_fmt pal8 pal8_from_rgb24.mov - decodes with wrong colors in qt (swscale - rgb24 -> pal8)

(or

ffmpeg -i pal8_qt.tif -s 32x32 -pix_fmt pal8 pal8_ff_32.tif
ffmpeg -i pal8_ff_32.tif -vcodec tif -vcodec tiff -pix_fmt pal8 pal8_ff_32.mov) - decodes with wrong colors in qt (swscale - resize)
}


now when I modify $F7 value to $F8 (see pal8_diff.jpg) in pal8_from_rgb24.mov file and copy/paste 
mdat hunk from pal8.mov (see pal8.jpg) to pal8_from_rgb24.mov (see pal8_from_rgb24.jpg) then modified
file have correct colors in qt, so looks like the problem is in data exported by ffmpeg when conversion
to pal8 happens (and swscale is used).
"	defect	open	minor	undetermined	git-master		mov pal8				1	0
