Changes between Version 43 and Version 44 of Scaling


Ignore:
Timestamp:
May 4, 2024, 9:45:59 PM (2 years ago)
Author:
MasterQuestionable
Comment:

[m] "off-by-one" -> "off-by-1".

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v43 v44  
    2626  The above example is highly misleading because `setsar=1:1` is equivalent to `setsar=r=1:max=1`. In this special case it accidentally gives the correct result SAR=1:1, but for example `setsar=2:3` would give the wrong result SAR=2:1. The correct syntax for SAR=2:3 is `setsar=2/3`, or `setsar=1` for the above example.
    2727
    28 * When going from BGR (not RGB) to yuv420p the conversion may be off-by-one. Use "-sws_flags +accurate_rnd" alike to avoid.
     28* When going from BGR (not RGB) to yuv420p the conversion may be off-by-1. Use "-sws_flags +accurate_rnd" alike to avoid.
    2929* yuvj!***p pixel formats are deprecated. Yet for x265 the workaround was implemented, but not for jpeg2000 and AV1. For those -vf scale=out_range=pc should be used.
    3030* Conversion from YUV limited to RGB 16bpc (bit-per-component) is broken: use "zscale" instead of "swscale".