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

Robert Krüger krueger at lesspain.de
Wed Sep 18 15:18:11 CEST 2013


On Wed, Sep 18, 2013 at 2:54 PM, Don Moir <donmoir at comcast.net> wrote:
>
>> On Wed, Sep 18, 2013 at 1:33 PM, Kieran Kunhya <kierank at obe.tv> wrote:
>>>
>>> This patch is a good idea for quick previews and the likes.
>
>
> If it's the default behavior, maybe. If it's not the default behavior, you
> might have to dig up the option that would only work sometimes and probably
> add more confusion.

Of course it should not be default behavior and that's what Michael
suggested and I think that's good because people who know how to use
it can and others don't need to worry about it. If all I have to do in
our video player to get a few percent less CPU load for these formats
is to set an option for a given list of formats (might not even be
necessary if the codec would simply ignore the flag if it does not
apply), I would certainly do that.

>
>
>> and basically every video player. E.g. quicktime displays full
>> transparency in Prores4444 as black and so does FCP. You only see the
>> alpha if you actually have an overlay. So people building software for
>> looking at single video clips would probably like it to behave the
>> same and if that can be achieved with less CPU it definitely has
>> value.
>
>
> I suspect no measurable CPU decrease on a modern computer and some on older
> computers. If user has a computer that can barely keep up, well he has

Just curious, on what do you base the assumption?

> problems already.
>
> Just saying, default should be that which in inherent in the video. Optional
> otherwise.
>
>
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list