[FFmpeg-user] Apparently the ffmpeg software scaler "sucks"

Reuben Martin reuben.m at gmail.com
Thu May 19 23:22:10 CEST 2016


On May 18, 2016 12:12 AM, "Peter Rabbitson" <rabbit+list at rabbit.us> wrote:
>
> On 05/18/2016 06:45 AM, Reuben Martin wrote:
>>
>>
>> curl -s http://www.4p8.com/eric.brasseur/gamma-1.0-or-2.2.png | \
>> ffmpeg -f image2pipe -i - \
>> -vf 'eq=gamma=0.454545,scale=w=iw/2:h=ih/2,eq=gamma=2.2' \
>> -vframes 1 -c:v bmp -f image2pipe - | ffplay -i -
>
>
> This is also suggested in the article from which I got the image. My
question was more: shouldn't ffmpeg (as a mid-to-high-end authoring tool)
apply this by default? Or at least have some sort of easily-accessible
-sws-flag or somesuch?
>

There is an undocumented flag in the scale filter enabled by setting the
option gamma=true that enables gamma correct scaling, but it's not going to
look the same as what is shown in the article you are referring to.

-Reuben


More information about the ffmpeg-user mailing list