Skip to content

Instantly share code, notes, and snippets.

@wnpllrzodiac
Created December 28, 2018 06:12
Show Gist options
  • Save wnpllrzodiac/5d360bac8d61dd0ca8294a0fd8475c00 to your computer and use it in GitHub Desktop.
Save wnpllrzodiac/5d360bac8d61dd0ca8294a0fd8475c00 to your computer and use it in GitHub Desktop.
ffmpeg swscale
放大:
重视速度:fast_bilinear, point
重视质量:cubic, spline, lanczos
缩小:
重视速度:fast_bilinear, point
重视质量:gauss, bilinear
重视锐度:cubic, spline, lanczos
注意:使用定bit(而不是定量化器)编码时,稍模糊的输入可能反而比较为锐的输入在缩放后获得较好的结果,尤其在低码率时更是如此。
错误类型
ringing
在锐利的边缘有块状的波或噪点
糟糕的:sinc, lanczos (with high filter length)
可接受:lanczos (with low filter length), cubic, spline
优秀的:area, (fast)blinear, gauss, point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment