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

Michael Niedermayer michael at niedermayer.cc
Fri Jan 22 12:45:37 CET 2016

On Wed, Jan 20, 2016 at 12:41:22PM +0100, Mats Peterson wrote:
> I don't know about this one, since it adds some calculations inside
> the loop, but it limits the line alignment to 16 bytes instead of 32
> bytes as before. Less overhead.

this patch breaks encoding 1bpp raw video

./ffmpeg -i matrixbench_mpeg2.mpg -pix_fmt monow -vframes 10 -vcodec rawvideo testw.avi
./ffplay testw.avi

also the change to the line alignment belongs in a seperate


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160122/12125ee4/attachment.sig>

More information about the ffmpeg-devel mailing list