How do you capture video of your games?

I searched java-gaming.org forum and strangely enough I haven’t found any tutorial/topic about capturing game video.

I managed to find http://bigosaur.com/blog/17-making-libgdx-youtube-video showing how to capture each frame in libgdx and convert them later to movie at command line. Looks doable but seems so tedious.

There’s also http://en.wikibooks.org/wiki/OpenGL_Programming/Video_Capture tutorial explaining how to capture opengl stream outside of application. I guess it should work ok for libgdx desktop app.

I would love to know what others use for capturing game video.
Is there easier solution I missed?