Swirlee

Posts tagged :

September8

Average Ninja

Average Ninja

Since yesterday’s post I’ve spent a lot more time beating on my video averaging script. Actually, I rewrote the thing from scratch, and it’s looking pretty good. For my second proof-of-concept (above) I used all 28 Ask a Ninja videos available on Revver. Thanks to the fine folks in #ffmpeg on Freenode, I managed to really speed up the video capture portion of the script. This time I went for 800×600 and captured a frame every 20 seconds. Capturing 272 frames from almost four hours of video took six and a half minutes and averaging them took just over four minutes. Once again, I tweaked the contrast of the final image a bit.

The real bottleneck in the process is memory. Read the rest of this entry »

©1999-2006 Jordan B. Running