Do you know color corruption issue?

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

Do you know color corruption issue?

ソリューションへジャンプ
3,057件の閲覧回数
satoshishimoda
Senior Contributor I

Hi community,

We have a color corruption issue as attached image.

The bluish-violet part of the image is changed the color from original color.

(Please note that the thoudands of white dot is not issue. These are lots of birds.)

This issue is occurred on MCIMX6Q-SDP and gstreamer in Linux BSP (L3.0.35_4.0.0) when encoding if GOP setting value is large (e.g. gop =15), but it is not occurred unit_test.

Then, we want to know whether same issue was occurred somewhere world wide.

Anyone knows this issue?

Best Regards,

Satoshi Shimoda

ラベル(4)
0 件の賞賛
返信
1 解決策
2,980件の閲覧回数
satoshishimoda
Senior Contributor I

Hi all,

I found the root cause of this issue.

It was a height resolution of movie data.

Actually, VPU seems that it does not encode h.264 correctly if height resolution of yuv data is not multiple of 16 when GOP value is large.

Then, mxc_vpu_test.c in unit_test in L3.0.35_4.1.0 checks the height resolution whether it is multiple of 16 or not.

And if it is not multiple of 16, add some line to the yuv data for changing it to multiple of 16.

On the other hands, gstreamer plug-in (vpuenc.c) for L3.0.35_4.1.0 does not check it, and does not add any line even though it is not multiple of 16.

Please note this point if you use gstreamer plug-in.

Best Regards,

Satoshi Shimoda

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,981件の閲覧回数
satoshishimoda
Senior Contributor I

Hi all,

I found the root cause of this issue.

It was a height resolution of movie data.

Actually, VPU seems that it does not encode h.264 correctly if height resolution of yuv data is not multiple of 16 when GOP value is large.

Then, mxc_vpu_test.c in unit_test in L3.0.35_4.1.0 checks the height resolution whether it is multiple of 16 or not.

And if it is not multiple of 16, add some line to the yuv data for changing it to multiple of 16.

On the other hands, gstreamer plug-in (vpuenc.c) for L3.0.35_4.1.0 does not check it, and does not add any line even though it is not multiple of 16.

Please note this point if you use gstreamer plug-in.

Best Regards,

Satoshi Shimoda

0 件の賞賛
返信