On Sun, Jan 17, 2016 at 10:50:42PM +0100, Mats Peterson wrote: > 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 > > -- > Mats Peterson > http://matsp888.no-ip.org/~mats/
> raw.c | 4 ++-- > rawdec.c | 31 ++++++++++++++++++++++--------- > 2 files changed, 24 insertions(+), 11 deletions(-) > 3e94120d14979d5c9c477dc67d055e15597f899e > 0001-lavf-rawdec-Use-AV_PIX_FMT_PAL8-for-1-bit-raw-QuickT.patch > From 6c6d2650faf82a9c2fe5c1463b1795117a13863c Mon Sep 17 00:00:00 2001 > From: Mats Peterson <matsp...@yahoo.com> > Date: Sun, 17 Jan 2016 22:27:52 +0100 > Subject: [PATCH v3] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime > video > > 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. applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel