**This is an old revision of the document!**
Screen Capture
Whether you need to capture what's happening on your screen for a performance, a tutorial, or for live broadcast, there are several ways to record the Linux screen.
FFmpeg
my command here
FFmpeg & Mplayer
User rowinggolfer
devised this hybrid method of not only capturing the screen, but also super-imposing and in-setting video from a webcam to achieve a live picture-in-picture mode.
Start the webcam in a non-intrusive frame. mplayer fits the bill here.
$ mplayer -cache 128 -tv driver=v4l2:width=320:height=240 -vo xv tv://foo
When that window appears, resize it, place it where you find least intrusive, and set it to remain “on top” by right-clicking the title bar blah blah
In another terminal, do this
~$ ffmpeg -f oss -i /dev/dsp -f x11grab -s xga -r 15 -i :0.0 out.mp4
Record your screencast.
hit q in the second terminal when you are finished.
If this works.. replace out.mp4 with whatever format or stream you wish to create.