Thursday, June 30, 2016

Scaling up video with pixelated output using FFmpeg

I was trying to scale up a video of screencast, but the result was blurry after scaling up.

The answer is to use flags=neighbor alongside scale, or -sws_flags-neighbor.
ffmpeg -i infile -vf scale=WIDTH:HEIGHT:flags=neighbor outfile
I was trying to figure out, tried many other flags except that neighbor.

No comments:

Post a Comment