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.

How to configure the H264 Codec in IPNC for support YUV 422 input

Expert 1840 points

Hi,

I am working with APPro IPNC DM368 and Soft V2.6. In AVServerUI.c, I try to modify to capture the YUV 422 instead of 420 as default:

//config->captureYuvFormat = DRV_DATA_FORMAT_YUV420;
config->captureYuvFormat = DRV_DATA_FORMAT_YUV422;

That means the input data for H264 Encoder in this case is YUV 422 and I saw the wrong color in web video monitor. I read somethings on Wiki said that we need to 

do some setting for codec to make the internal convert automatically from YUV 422 to YUV 420.

http://processors.wiki.ti.com/index.php/Codec_FAQ#What_is_the_cycle_overhead_of_using_a_YUV422_input_instead_of_a_YUV420_input.3F

Can someone help me to figure out what should I do with my camera if I want to use YUV 422 instead of 420?

thanks a lot.