RecordMyDesktop is a free and open source desktop screencasting software application written for GNU/Linux. The program is separated into two parts; a command line tool that performs the tasks of capturing and encoding, and an interface that exposes the program functionality graphically. GTK-RecordMyDesktop is a front-end for RecordMyDesktop.
If you ever tried to record your desktop using GTK-RecordMyDesktop (it's probably the same using the KDE front-end but I didn't test that), you've probably noticed the video doesn't work on YouTube or it's rendered very badly. The same issue occurs when trying to open the video in a video editor.
But here is a quick fix which will make your GTK-RecordMyDesktop videos work everywhere:
1. Firstly make sure you have mencoder installed:
sudo apt-get install mencoder
2. Now you can fix your video using the following command:
mencoder out.ogv -o out.avi -oac mp3lame -ovc lavc
In the above command, replace "out.ogv" with the name of the video you've recorded using GTK-RecordMyDesktop and the "out.avi" with the name you want for your final (fixed) video. Don't change the ".avi" extension!
In case you don't want sound in your video, instead of the above command, use this one:
mencoder out.ogv -o out.avi -nosound -ovc lavc
That is all - now you can open your video in your favourite video editor such as OpenShot or Avidemux or directly upload it to YouTube.