News for hackers. Stuff that matters.
Re:Depixelizing Pixel Art (2011) by citrusui on Tuesday February 20, 2018 @05:57AM (#16419375)
Thanks for the link!

This may sound crazy, but I wonder if there's a way to "automate" this deconstruction with ffmpeg...

Re:Depixelizing Pixel Art (2011) by citrusui on Wednesday February 21, 2018 @12:20PM (#16431068)
Update: here's a one-liner that will do exactly that

ffmpeg -i input.mp4 -strict -2 -crf 51 output.mp4 && rm input.mp4 && mv output.mp4 input.mp4

For better results, run the above command ten times:

for ((n=0;n<10;n++)); do ffmpeg -i input.mp4 -strict -2 -crf 51 output.mp4 && rm input.mp4 && mv output.mp4 input.mp4; done