Some freezes in video were caused by video capture tool writing to disk.
Note: there appear to be some problem with youtube at the moment. If this video keeps loading but does not start, skip to 5 seconds.
I still did not figure how to capture sound from OpenAL correctly.
Encoding used (on file that I uploaded. Youtube itself does re-encode it over again, at lower quality):
glc-play Polynomial64-5125-0.glc -o - -y 1 |mencoder -demuxer y4m - -nosound -ovc x264 -x264encopts crf=22:frameref=3:bframes=3:threads=5 -of avi -o output_x264.avi
Original resolution was 1280x720 , and resulting bitrate was about 1 megabyte per second.