playback ttyrec file and output gif image (for framebuffer)