[FFmpeg-devel] [PATCH] avcodec/utvideoenc: switch to planar RGB formats
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Dec 31 16:21:40 EET 2017
2017-12-31 15:16 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
> On 12/31/17, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2017-12-31 10:48 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
>>> static void mangle_rgb_planes(uint8_t *dst, ptrdiff_t dst_stride,
>> Why don't you add a new function mangle_gbr_planes() and
>> keep rgb encoding? The function is not very large.
> No. UtVideo expect planar rgb and planar rgb should be given to it.
The real-world issue I see is screen-recording.
Given that these are small functions and the obvious user advantage
I really believe supporting both pix_fmts is the best solution.
More information about the ffmpeg-devel