[FFmpeg-devel] [PATCH v3] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime video

Mats Peterson matsp888 at yahoo.com
Sun Jan 17 22:50:42 CET 2016

Alright Michael, I'm not entirely sure of what I'm doing regarding the 
FFALIGN(avctx->width, 32), but at least the two odd-width (113 and 129 
pixels) 1 bpp files that failed to render correctly with the last patch 
now seem to be OK. Please give it a try. Original description follows:

Match the use of AV_PIX_FMT_PAL8 for 1-bit QuickTime Animation in 
lavc/qtrle. To reiterate, 1-bit video is not necessary black & white in 
QuickTime, merely bi-level. The two colors can be any color. The 
palette, either included in the sample description, or the default 
Macintosh palette (black & white for 1-bit video) will be set in 
lavf/qtpalette. See the QuickTime File Format Specification for details.


Mats Peterson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-rawdec-Use-AV_PIX_FMT_PAL8-for-1-bit-raw-QuickT.patch
Type: text/x-patch
Size: 5231 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160117/7386ed26/attachment.bin>

More information about the ffmpeg-devel mailing list