Changes between Version 56 and Version 57 of Scaling


Ignore:
Timestamp:
Aug 11, 2024, 6:31:07 AM (2 years ago)
Author:
Balling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v56 v57  
    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 swscale is off-by-1. Use "-sws_flags +accurate_rnd" alike to avoid.
     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.
    3737* 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.
    3838* Conversion from YUV limited to RGB 16 bpc (bit-per-component) is broken: use -vf zscale instead of -vf scale.