i.MX6Q 1080P encode problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6Q 1080P encode problem

跳至解决方案
1,027 次查看
jasonhsu
Contributor III

Hi Community,

I'm new to VPU encoding. We encouter a problem and have no opinion about it. :smileyconfused:

MIPI camera input source is 1080P 30fps or 60fps, the preview image is normal. however, after encoded, the image seems abnormal. Viewed from image displayed, it seems that RED and GREEN are changed each other. please see below picture for comparing.

Could you give me some advices? :smileyhappy:

Many many thxs....

encode1.png

picture-1  preview of 1080P input of MIPI Camera

encode2.png

picture-1 encoded display from 1080P input of MIPI Camera

标记 (3)
0 项奖励
1 解答
773 次查看
jasonhsu
Contributor III

the rootcause is that 1080P input is different from 720P input. the format of 1080P is YV12.

在原帖中查看解决方案

0 项奖励
4 回复数
773 次查看
Yuri
NXP Employee
NXP Employee

  Do You use Gstreamer ? What commands ?


~Yuri

774 次查看
jasonhsu
Contributor III

the rootcause is that 1080P input is different from 720P input. the format of 1080P is YV12.

0 项奖励
773 次查看
saurabh206
Senior Contributor III

Its good that you found the root cause.

0 项奖励
773 次查看
saurabh206
Senior Contributor III

Hi

Xu

You need to verify the VPU supported YUV formats.

You need to do YUV format conversion before encoding.

Thanks

Saurabh