This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM355 - JPEG Encode live video 'stream' (composite)

Hi,

I am using the latest DVSDK, and trying to build a Live Capture Application that captures a live Video 'image' (from local Composite Port) and encode that raw image to JPEG.

Using the DMAI interface, I able to capture the raw video (via the Composite NTSC input) - and store this raw YUV422P buffer. Next, I use the DMAI Image Encode application (image_encode_io1_dm355.x470MV) to convert this to a JPEG. I am configuring with -i/oColorSpace = 1 (YUV422P). I tried to UYVY (3) for both, it fails to create the jpeg codec for that instance...

Results with YUV422P worked, but it didn't completely work either. It appears that I am capture 1/2 of the two NTSC fields required to build a full image (see attached file). This definitely looks like it!.

So the question is How do capture both odd/even fields of the frame, convert to format that I can encode using the standard jpeg encoder codec

Tom