Changes between Version 43 and Version 44 of Scaling
- Timestamp:
- May 4, 2024, 9:45:59 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scaling
v43 v44 26 26 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. 27 27 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. 29 29 * 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. 30 30 * Conversion from YUV limited to RGB 16bpc (bit-per-component) is broken: use "zscale" instead of "swscale".
