I am looking for some software that will allow me to capture multiple streams and save either as multiple files or as PiP in one file. I have et 4 channel capture card and all sources are available, but I can't find any software that supports multiple capturing. My setup should be able to do real time capture and compression of 4 PAL streams.

Does anyone know of any software with these capabilities or do I have to code it myself? The most important part is that the final output is one stream with the 4 captured sources as PiP and in sync.