Changes between Version 16 and Version 17 of Scaling


Ignore:
Timestamp:
Sep 7, 2021, 5:10:28 PM (5 years ago)
Author:
Balling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scaling

    v16 v17  
    99ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4
    1010}}}
     11* When going from BGR (not RGB) to yuv420p the conversion is broken (off-by-one). Use -vf scale flags=accurate_rnd to fix that.
     12* 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.
     13* Converion from YCbCr limited to RGB 16 bit is broken, use zscale instead of swscale
     14* Limited range RGB is not supported at all.
     15* Dither can be turned off using -vf scale=sws_dither=none
     16* One should always remember that YCbCr 4:4:4 is not enough to preserve RGB 8 bit, YCbCr 10 bit are required. 
    1117}}}
    1218