I’ve just finished uploading cap, my experiment with V4L2 and Xlib. You can download the project from http://www.geocities.com/wah_java_dotnet/cap/index.html.
The code is a bit buggy, that it doesn’t cleanup properly. But it will be fixed soon when I’m a bit free, as today is my exam.