For Windows, I found Webcamoid, which seems like it would suit your needs. Also UniCam, but that one doesn't advertise video recording, so it might just be a viewer.