[FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

tim nicholson nichot20 at yahoo.com
Fri May 22 08:26:36 CEST 2015

On 21/05/15 09:05, Carl Eugen Hoyos wrote:
> tim nicholson <nichot20-at-yahoo.com <at> ffmpeg.org> writes:
>>> It seems to me that the scale filter is so smart 
>>> that it doesn't scale if the input and output 
>>> resolution and input and output colourspace 
>>> are identical.
>>> Even worse, both the filter and the software 
>>> scaler are smart enough to skip actual scaling, 
>>> so fixing the issue in the scale filter is not 
>>> sufficient...
>> This sounds vaguely familiar and istr it only works 
>> when going YUV->RGB, but my memory could be shakey.
> It works fine here for YUV->YUV if I apply the vf_scale 
> patch I posted on -devel and if I disable the "smart" 
> detection in libswscale.

As my memory is from before your patch and without such smart disabling
that sounds entirely reasonable.

Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83

More information about the ffmpeg-user mailing list