AnsweredAssumed Answered

How to make H264 encoder accepts YUV422 format image

Question asked by lee gd on Jun 14, 2016
Latest reply on Jun 21, 2016 by lee gd

  I'm using L3.0.35_4.1.0_130816 bsp(i.mx6q), vpu document say that the H264 encoder accepts YUV 4:2:2 image, but I don't know how to configure the parameters,  EncMjpgParam.Mjpg_sourceFormat specifies the input format for JPEG encoder,  but for H264 encoder,which parameters should i use?

  The reason why i want to use 4:2:2 format is that the low price usb camera support MJPEG format at 30fps, i decide to decode MJPEG first and get YUV422, and send to h264 encoder.

  thanks in advance