[FFmpeg-devel] [PATCH] avcodec/utvideoenc: switch to planar RGB formats

Paul B Mahol onemda at gmail.com
Sun Dec 31 20:43:38 EET 2017


On 12/31/17, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> On 12/31/2017 2:08 PM, Paul B Mahol wrote:
>>>>> Why do they change?
>>>>> Do I understand correctly that the files get bigger (~5%)?
>>>>> If yes, wouldn't that indicate that the patch is not a good idea?
>>>>
>>>> Its because of different scaling path. Have nothing to do with
>>>> good or bad idea.
>>>
>>> Thank you, imo this indicates the utvideo rgb tests
>>> should be fixed to use rgb input.
>>
>> Patch welcome.
>
> Shouldn't it be easy to force it in utvideo.mak? That would
> avoid the unnecessary FATE changes totally, and IMO, is preferable
> to changing them back later.

No because its swscale nonsense.

If input is rgb, output is unchanged with this patch.


More information about the ffmpeg-devel mailing list