gtk-recordMyDesktop troubles?
If you happen to use gtk-recordMyDesktop (easily the best solution for recording screencasts on Linux), maybe you have the same problem as me - recorded video has severe lags and only changes the image every 5 seconds or so.
The solution is to add the following line in the Options->Misc tab: "--v_bitrate 1000000". This changes the target bitrate of the resulting Theora video. It fixed the problem for me.