News for hackers. Stuff that matters.
Re:An Algorithm to Extract Looping GIFs from Videos by comboy on Wednesday February 11, 2015 @05:17PM (#9036084)
Very cool concept and article.

You may also notice that many of these looping gifs are done in much simpler way by just playing part of a video and then playing it in reverse.

Re:An Algorithm to Extract Looping GIFs from Videos by mxfh on Wednesday February 11, 2015 @06:06PM (#9036307)
This so called pingpong style method can create a loop out of any source material, but the result will most likely look unnatural since you're reusing frames and it only works quite convincingly for pendular motions. The method described here finds naturally appearing loop candidates in any video stream and is way more flexible.
Re:An Algorithm to Extract Looping GIFs from Videos by rnhmjoj on Wednesday February 11, 2015 @05:41PM (#9036179)
So you could just check if the frame i is similar to the frame n-i?
Re:An Algorithm to Extract Looping GIFs from Videos by jessaustin on Wednesday February 11, 2015 @05:48PM (#9036211)
The idea is that frame 0 is similar to frame 0, and also that frame n is similar to frame n. (The resulting gif is 2n - 2 frames long.)
Re:An Algorithm to Extract Looping GIFs from Videos by loco5niner on Wednesday February 11, 2015 @06:40PM (#9036441)
I'm missing something. I don't really understand the first part of what you said...
Re:An Algorithm to Extract Looping GIFs from Videos by tokenizerrr on Wednesday February 11, 2015 @07:13PM (#9036563)
You just play it normally once, then in reverse. Then it loops around.