http://v4l2vd.sourceforge.net/ is a newer version of the above project (On my linux-2.6.32 I had to modify the source code to compile the driver, if you have problems I can send you the modified source code). In principle any application that is capable of playing a video on a v4l2 output device is usable for a video source. The project provides a sample program that provides a raw video stream on the other end of the video pipe.