Default Video capture of what's on-screen?

Is there a way to capture video of what's actually on the screen? By use of an app or perhaps somewhere in the SDK?