I know video can't be turned directly into a motion JPEG but what I'm after is for each frame in a sequence to be taken from the video and turned into a JPEG sprite either horizontal or vertical.
I'll then be using jQuery to animate the jpeg sprite into what looks like a video again.