[FFmpeg-devel] adding RGBA and BGRA to nvenc.c
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Sep 7 14:27:10 EEST 2016
2016-09-07 12:50 GMT+02:00 Sven C. Dack <sven.c.dack at sky.com>:
> On 07/09/16 11:25, Carl Eugen Hoyos wrote:
>>> Am 07.09.2016 um 11:40 schrieb "Sven C. Dack" <sven.c.dack at sky.com>:
>>> On 07/09/16 09:23, Timo Rothenpieler wrote:
>>> Otherwise will RGBA/BGRA have to
>>> be converted into RGB0/BGR0
>>> and you will again get a performance penalty.
>> What makes you think so?
> I have tested it. What makes you think it wouldn't?
This is a bug that should be fixed independently.
>> (The problem is that your encoder now reports "I support
>> transparency" and this will lead to funny effects depending
>> in the colour space of your input file.)
> No, it doesn't.
If your patch adds "RGBA" as supported colour space,
the encoder (by definition) announces that it supports
nvenc does not support transparency (if it would, it would
be a - grave - bug to use "RGB0" in the patch). So please
do not add it.
More information about the ffmpeg-devel