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

Patrick Cusack patrickcusack at mac.com
Fri May 22 16:16:47 EEST 2020


Nearest neighbor will make it blocky. Maybe you want bilinear?


> On May 22, 2020, at 5:15 AM, Moritz Barsnick <barsnick at gmx.net> wrote:
> 
> 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. ;-)
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list