[FFmpeg-devel] [PATCH] XWD decoder and encoder

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 19 21:40:28 CET 2012


Paul B Mahol <onemda <at> gmail.com> writes:

> >> +                avctx->pix_fmt = be ? PIX_FMT_ARGB : PIX_FMT_BGRA;
> >
> >> +                avctx->pix_fmt = be ? PIX_FMT_ABGR : PIX_FMT_RGBA;
> >
> > This should be 0RGB, BGR0, 0BGR and RGB0.
> 
> Not really. xwd sets alpha to 0xFF for me. Format can support alpha just fine.

It is completely transparent here;-(

Can you get other values than 0xFF?
(Is there any transparency information when doing screen capturing?)

Carl Eugen



More information about the ffmpeg-devel mailing list