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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Sep 18 15:16:47 CEST 2013


compn <tempn at twmi.rr.com> wrote:
>On Wed, 18 Sep 2013 13:12:06 +0200, Reimar Döffinger wrote:
>>And actually the issue of having to initialize alpha can be avoided by
>setting the non-alpha pixfmt when such a flag is set.
>
>probably we could add a flag to codecs.conf entries that passes to
>avoptions?

Please don't give people reason to troll by bringing up MPlayer.
There is no problem with using any of these implementations for MPlayer, in fact MPlayer is probably the only application that doesn't need any of this to get the advantages.
The reason for this is to allow others, including ffplay to get this feature.
And I thought the get_format might be easier to integrate into FFmpeg format negotiation with libavfilter, so it could avoid decoding it when the filters or output cannot handle alpha.



More information about the ffmpeg-devel mailing list