[FFmpeg-devel] adding RGBA and BGRA to nvenc.c
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Sep 7 12:06:56 EEST 2016
2016-09-07 2:23 GMT+02:00 Sven C. Dack <sven.c.dack at sky.com>:
> On 07/09/16 01:08, Sven C. Dack wrote:
>> On 07/09/16 00:43, Carl Eugen Hoyos wrote:
>>> Should be AV_PIX_FMT_RGB0...
As pointed out by Timo, this should be AV_PIX_FMT_0BGR32...
>>> ... and AV_PIX_FMT_BGR0
... and this AV_PIX_FMT_0RGB32: It makes no difference on
little-endian, but matches the documentation.
Sorry for not realizing this yesterday!
> + AV_PIX_FMT_RGB0,
> + AV_PIX_FMT_BGR0,
> + AV_PIX_FMT_RGBA,
> + AV_PIX_FMT_BGRA,
In any case, please remove AV_PIX_FMT_RGBA and AV_PIX_FMT_BGRA,
the encoder cannot deal with transparency.
More information about the ffmpeg-devel