The NVIDIA OpenGL-based Framebuffer Capture (NvFBCOpenGL) library is all about high performance and low-latency captures while also having support to encode the composited frame-buffer of an X11 output. Itt a linuxos tirexik ideje...:D