FWIW, Youtube has had this feature since May 2012, for videos considerably longer than a handful of seconds:
http://googleresearch.blogspot.com/2012/05/video-stabilizati...
EDIT: the demo video on that link above is pretty spectacular.
http://googleresearch.blogspot.com/2012/05/video-stabilizati...
EDIT: the demo video on that link above is pretty spectacular.