Changes between Version 56 and Version 57 of Scaling
- Timestamp:
- Aug 11, 2024, 6:31:07 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scaling
v56 v57 34 34 Correct syntax for SAR 2:3 is "setsar=2/3"; or "setsar=1" for 1:1. 35 35 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. 37 37 * 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 38 * Conversion from YUV limited to RGB 16 bpc (bit-per-component) is broken: use -vf zscale instead of -vf scale.
