v4l2_camera_xdisplay A very simple v4l2 application that captures from v4l2 video device and displays to X I'm starting with part of the source code from v4l2_mjpeg_streamer source code