views:

166

answers:

3

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.

A: 

What you need is the Microsoft DirectShow API. Check this link for API and help: http://msdn.microsoft.com/en-us/library/ms783323.aspx

I am not sure but Silverlight also probably has the capability you are looking for.

Sesh
I'm having trouble finding the part of the API that does what I want. Do you have any additional guidance on this? Thanks.
MOE37x3
The DirectShow API has nothing to do with what the original question was about. The question is about a digital representation of the actual NTSC encoded analog signal. The DirectShow API works on a much higher level.
Pete
+1  A: 

The decoding of NTSC into separate R,G,B components with syncing signals has been done in hardware for such a very long time that it is cheap and easy. There hasn't been any incentive for anyone to try it in software.

Mark Ransom
+2  A: 

I know that some code for this task exists for GNUradio, though I don't know if it ever got past black&white reception:.

There is also a gnuradio ATSC transceiver that is more complete, though not what you were looking for.

puetzk