Changes between Version 57 and Version 58 of Scaling


Ignore:
Timestamp:
Aug 22, 2024, 6:42:54 AM (2 years ago)
Author:
MasterQuestionable
Comment:

[m] Rephrasing.

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v57 v58  
    3434  Correct syntax for SAR 2:3 is "setsar=2/3"; or "setsar=1" for 1:1.
    3535
    36 * When going from BGR (not RGB) to yuv420p the conversion in many colors in swscale is off-by-1. Use -vf scale=flags=accurate_rnd to fix that, also note that "-sws_flags +accurate_rnd" does not work. See: #979.
     36* When going from BGR (not RGB) to yuv420p the conversion may be off-by-1. Use "-sws_flags +accurate_rnd" alike to avoid.\\
     37  [ !^ With "swscale", for many colors. See #979 for further caveat. ]
    3738* 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.
    38 * Conversion from YUV limited to RGB 16 bpc (bit-per-component) is broken: use -vf zscale instead of -vf scale.
     39* Conversion from YUV limited to RGB 16bpc (bit-per-component) is broken: use "zscale" instead of "swscale". [ Via "-vf" alike. ]
    3940* Limited range RGB is outright unsupported.
    4041* Dither can be forced off using "-sws_dither none". (or temporary workaround !`-lavfi "scale=sws_dither=none"` alike)