Changes between Version 40 and Version 41 of Scaling


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

[m] Normalize "YCbCr" to "YUV": per <colorspace>. Also use "bpc". And minor refactoring.

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v40 v41  
    2828* When going from BGR (not RGB) to yuv420p the conversion is broken (off-by-one). Use -vf scale=flags=accurate_rnd to fix that.
    2929* yuvjxxxp 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.
    30 * Conversion from YCbCr limited to RGB 16 bit is broken, use zscale instead of swscale
     30* Conversion from YUV limited to RGB 16bpc (bit-per-component) is broken: use "zscale" instead of "swscale".
    3131* Limited range RGB is not supported at all.
    3232* Dither can be turned off using -vf scale=sws_dither=none
    33 * One should always remember that YCbCr 4:4:4 8 bit is not enough to preserve RGB 8 bit, YCbCr 4:4:4 10 bit is required.
     33* Remember YUV 4:4:4 8bpc wouldn't suffice to preserve RGB 8bpc: 10bpc is required.
    3434* The default for matrix in untagged input and output is always limited BT.601 [ See also: <[/wiki/colorspace colorspace]> ]
    3535}}}