[FFmpeg-devel] [PATCH] Make decoding alpha optional for some codecs.

Paul B Mahol onemda at gmail.com
Thu Sep 19 12:50:39 CEST 2013

On 9/19/13, Kirill Gavrilov <gavr.mail at gmail.com> wrote:
> Mark Himsley <mark.himsley <at> gmail.com> writes:
>> You have to decode the alpha to use the alpha mask any picture content
>> which is under transparent regions.
>> You cannot display the video correctly without multiplying the alpha with
>> the video content
> Mark Himsley <mark.himsley <at> gmail.com> writes:
>> Is this currently done with ffplay (or MPlayer or vlc)?
> *
> My player supports alpha channel but only for known RGBA formats.
> I have just checked what happens when RGBA image converted to RGB using
> swscale and unfortunately result is incorrect (alpha just discarded).

What it should do instead?

> I think most universal players based on FFmpeg fall back to swscale when
> unknown pixel format appears and current situation looks not good - if I
> haven't missed special flags.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list