[FFmpeg-devel] adding RGBA and BGRA to nvenc.c

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 7 13:25:54 EEST 2016


Hi!

> 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?
(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.)

Please also implement my other suggestion to make documentation and implementation match (and to match existing and new colour spaces, there is already an endianness-depending pix_fmt).

Carl Eugen


More information about the ffmpeg-devel mailing list