Encode raw capture YUV data to MPEG-2 Encode raw data from an Quadro SDI capture card YUV data to MP

Hi all,

I am quite new to programming at a device level, so please excuse my lack of knowledge on the subject…

I have the following high-level requirements which I’m trying to find an optimal solution for, however, I am a bit stumped as to how to go about it.

The high-level requirements are:

    [*] Capture data from a NVIDIA Quadro SDI Graphics Capture Card

    [*] Encode output to MPEG-2 with specific qualities (e.g. bitrate, aspect ratio, frame rate etc…)

(Assume this service is running on a Windows XP 64 bit server)

I thought the best way to do this was to:

[list=1]

[*] Use the NVIDIA Quadro SDI API to connect to the device and read the raw data

[*] Encode the raw data from the capture card to H.264 using CUDA Video Encode library (see cude encode)

[*] Encode the H.264 output to MPEG-2 output with desired qualities

However, I am sure there is a better way involving less steps to do this!

Is there a better way of doing this with less steps that can essentially get the output of the Capture Card directly into an MPEG-2 format?

Any help would be greatly appreciated.

Regards

sh

post the sample code here ,please.(

Use the NVIDIA Quadro SDI API to connect to the device and read the raw data
)