[FFmpeg-devel] [PATCH v3] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw AVI video
matsp888 at yahoo.com
Fri Jan 22 13:48:40 CET 2016
On 01/22/2016 12:45 PM, Michael Niedermayer wrote:
> 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
It doesn't break the encoding, since I have never touched the encoder.
But it expects the line alignment of the incoming packet to be 4 bytes
in rawdec.c, while it is 2 bytes for some reason.
More information about the ffmpeg-devel