When I use this command:
gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=desktop.ogg
It shows me only desktop screenshot and video length is 0:00 or sometimes it just shows pictures without mouse motion.
More information: Ubuntu 10.04.3 this is a text