[FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

Mats Peterson matsp888 at yahoo.com
Fri Feb 12 13:09:53 CET 2016


On 02/12/2016 01:03 PM, Mats Peterson wrote:
> Well, it's not because of my patch. It was the same before it. And you
> have more knowledge than me when it comes to fixing the muxing code. I
> have mostly dealt with the demuxing side so far, since that's where I
> feel decently comfortable.
>
> Mats

I admit it sounded like it was because of my patch, but I worded it in a 
confusing way, I guess. I meant that since my patch will make 1 bpp raw 
AVI files use pal8 internally, to produce a 1 bpp file, you can either 
use "-vcodec copy", or "-vcodec rawvideo -pix_fmt mono", and the latter 
one will produce files with incorrect strides. It has nothing to do with 
my patch per se.

Mats



More information about the ffmpeg-devel mailing list