grab video in GL mode (full shots): recordmydesktop -windowid `xwininfo -root -tree | grep Battle | awk '{ print $1; } '` --overwrite -fps 15 --no-sound --full-shots recode to mpeg4 for cinerella editing: mencoder single01.ogv -o single01.avi -ofps 25 -ovc lavc -lavcopts vcodec=h263p -forceidx -lavcopts vqscale=0 recode to mpeg2 no sound: mencoder -ovc lavc -lavcopts vcodec=mpeg1video out.ogv -nosound -vf scale=160:120 -of rawvideo -o out.mpg -nosound recode to flv: mencoder source.file -ofps 15 -o outputfile -of lavf -oac mp3lame -lameopts abr:br=64 -srate 22050 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=256:mbd=2:mv0:trell:v4mv:cbp:last_pred=3