How to make H264 encoder accepts YUV422 format image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to make H264 encoder accepts YUV422 format image

3,945件の閲覧回数
leegd
Contributor I

  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

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

3,213件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

which vpu document says that vpu only supports yuv422 for h264 encoding?

could you share with me? let me check it.

0 件の賞賛
返信

3,212件の閲覧回数
leegd
Contributor I

NOT "only supports yuv422 for h264 encoding?"

page 72:

"Before running a picture encoder operation, the host application should provide a 4:2:0 or 4:2:2 vertical formatted input YUV image with a pre-defined size for H.263, MPEG-4 and H.264"

"Source format-The VPU supports 4:2:2 vertical format source image. The source image is converted to 4:2:0 format

automatically"

0 件の賞賛
返信