[FFmpeg-devel] [PATCH] bmpenc: support for BGRA
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Jan 12 00:16:43 CET 2012
Paul B Mahol <onemda <at> gmail.com> writes:
> >> switch (avctx->pix_fmt) {
> >> + case PIX_FMT_BGRA:
> >> + avctx->bits_per_coded_sample = 32;
> >
> > I tested a similar patch and the problem is that ImageMagick does not show
> > the
> > alpha channel for our encodes,
>
> That's because our encoder create version 3 files instead of version 4.
>
> Version 4 have header size of 108 bytes instead of 40.
Thank you for clarifying, that is why I thought we should either always write
version 4 or write version 4 for RGBA.
Carl Eugen
More information about the ffmpeg-devel
mailing list