YUV Formats for vpu enocder

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

YUV Formats for vpu enocder

ソリューションへジャンプ
1,444件の閲覧回数
itzikperetz
Contributor I

Hi,

I'm trying to use the vpu encoder for encoding yuv stream from my camera to H264.

My camera (Microsoft LiveCam 1080p) generates YUYV format. I tried to give this raw file to the encoder test app (./mxc-vpu-test -E "-i itzik.yuv -w 640 -h 480 -f 2 -o itzik2.h264"), but i got corrupted H264 file.

Is this possible at all? If not, What should I do to get it encoded (This is the only YUV i can get from my camera)?

Thanks,

Itzik

ラベル(3)
0 件の賞賛
返信
1 解決策
1,298件の閲覧回数
saurabh206
Senior Contributor III

Hi Itzik,

VPU encoding support only YUV4:2:0.

You need to add support for YUV422 to YUV420 conversion.

Thanks

Saurabh

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,299件の閲覧回数
saurabh206
Senior Contributor III

Hi Itzik,

VPU encoding support only YUV4:2:0.

You need to add support for YUV422 to YUV420 conversion.

Thanks

Saurabh

0 件の賞賛
返信
1,298件の閲覧回数
itzikperetz
Contributor I

Hi Saurabh,

I have some other questions:

1. Can you explain me what is the sliceMode parameter in the encoder?

2. What the differences between the available modes? Is sliceSize related to NALU Size?

3. i saw that the encoder only supports Base profile, but i didn't see any limitation regarding to set H264 level. Can you explain me how to set the level for the encoder?

Thanks,

Itzik

0 件の賞賛
返信