I've had the same problem since I moved to Karmic. So, I compiled the latest version of recordmydesktop (command line) and it doesn't say buffer overrun any more. Instead, the sound is now behind the video. Probably it drops some video frames to catch all the sound. You can try this, and see if it works.
I'm still searching for a solution. The script (above posted) didn't work for me because arecord recorded really scratchy sounds.
Thanks for all the solutions, hope we'll figure it out.
I've had the same problem since I moved to Karmic. So, I compiled the latest version of recordmydesktop (command line) and it doesn't say buffer overrun any more. Instead, the sound is now behind the video. Probably it drops some video frames to catch all the sound. You can try this, and see if it works.
I'm still searching for a solution. The script (above posted) didn't work for me because arecord recorded really scratchy sounds.
Thanks for all the solutions, hope we'll figure it out.