I'm looking for an API that I can use to decode a digital sample of an analog signal, encoded according to the NTSC standard. I'm willing to consider both free and commercial options. If I have to, I'll roll the code myself, but I imagine that this code has been written tens or hundreds of times in the past few decades, so I'm hoping there's something out there I can adapt.
Do you know of such an API?
UPDATE: It seems that this code hasn't necessarily been written as many times over as I'd hoped. The solved problem, apparently, is dealing directly with the analog input via particular devices. What I'm looking for is an algorithm that takes as input a direct digital sample of the analog signal (with sufficient resolution to pick up the changes specified in the standard) and returns a video picture, similar to what this person wanted and had to build himself.