[FFmpeg-devel] [PATCH] lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit video

Mats Peterson matsp888 at yahoo.com
Wed Dec 30 08:17:03 CET 2015


On 12/29/2015 11:08 PM, Mats Peterson wrote:
> The following patch fixes the lack of palettized display of 1-bit video
> in the qtrle decoder. It is related to my previous patch of
> lavf/qtpalette, which added 1-bit video to the "palettized video"
> category. As far as I can see, everything works fine, but comments are
> of course welcome.
>
> Below are links to sample files, which should now be displayed properly
> with bluish colors, but which were previously displayed in black &
> white.
>
> Matroska:
> https://drive.google.com/open?id=0B3_pEBoLs0faNjI0cHBMWDhYY2c
>
> QuickTime (mov):
> https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE
>
> Mats
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

When comparing the output in QuickTime and FFmpeg, I noticed that the 
background is blue in FFmpeg, while it is white (or transparent, if you 
will) in QuickTime. Hold your horses on this patch.

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list