I used aview to
convert the frame to text. I modified aview to
run xwd as soon as it finished rendering the image and then exit.
I used convert
to crop, resize and color the image.
I used mencoder to encode the
frames into a DivX movie.