I hacked together a little Ruby script to do something similar a few months back, might be useful to somebody:
https://github.com/space150/gifvine/blob/master/gifvine.rb
It runs server-side however, and requires several dependencies (ffmpeg, imagemagick) unlike JVine which runs client-side as a Java applet.