Record a window with recordmydesktop