Ok, I’ll just explain what I need done and hopefully somebody will know the best way to go about it. I’m adjusting some old pixelated animations I designed on a video game console (now emulated on the computer) to be used (letter boxed) in a 720p square pixel video.
Original output from console = 320×240 (square pixels)
I then upscale this (within the emulator) to = 960×720
(using a nearest neighbor type system giving perfect unblurred 3 times magnification)
This was then recorded with lossless screen capture to produce a 960×720 source video.
Now, in most cases, the actual desired viewing area is only 720×576. So the video needs to be cropped pixel accurately to this size. (120 off each side and 72 off the top and bottom.)
Now this is where the upscale also comes in handy.
The native output of the actual hardware on which it was designed (not the emulation) had a pixel aspect ratio that stretched the 720×576 to be 4:3. Now, obviously stretching it to a new PAR (according to my calculations 1.0666) will cause some very undesirable blur when it’s converted to 1:1. So the solution is to increase the width using a nearest neighbor resize to 4:3 (768×576).
This in effect will double every ~15th vertical row of pixels. Making the appearance of the stretching minimal, as the original “pixels” that are stretched are only stretched by 1/3.
This produces the cleanest sharp “pixels” and most accurate 4:3 output. I have done this with stills in photoshop and it worked flawlessly. I just need some help working out how to produce the same results on video.
A summary of what I need to do:
Losslessly crop 960×720 to 720×576
Nearest neighbor stretch 720×576 to 768×576
Thanks heaps,
Jasper