[FFmpeg-user] Resizing result with nearest neighbour is highly compressed

Moritz Barsnick barsnick at gmx.net
Fri May 22 15:15:41 EEST 2020

On Fri, May 22, 2020 at 13:52:40 +0200, Nick wrote:
> I'm trying to resize a .mp4 video with FFmpeg but the result is artifacted
> to hell and back, how can I fix it?

To be honest, I see the same artifacts in the original.
(I dumped single frames losslessly to PNG and viewed them full-screen.
Note that that last step of full-screen scaling obviously also uses
some algorithm. But regardless of smoothing or not, I see artifacts.)

> > ffmpeg -i C:\Users\Asus\Desktop\0001-0024.mp4 -vf
> > scale=1120:1120:flags=neighbor C:\Users\Asus\Desktop\out.mp4 -aac_tns

We usually appreciate the complete, uncut console output, which also
saves us from actually reproducing, just to see e.g. that you are
scaling *up*).

And that "-aac_tns" in your command line surely is a mistake. ;-)


More information about the ffmpeg-user mailing list