i.MX6Q 1080P encode problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q 1080P encode problem

Jump to solution
1,407 Views
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

Tags (3)
0 Kudos
Reply
1 Solution
1,153 Views
jasonhsu
Contributor III

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

View solution in original post

0 Kudos
Reply
4 Replies
1,153 Views
Yuri
NXP Employee
NXP Employee

  Do You use Gstreamer ? What commands ?


~Yuri

1,154 Views
jasonhsu
Contributor III

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

0 Kudos
Reply
1,153 Views
saurabh206
Senior Contributor III

Its good that you found the root cause.

0 Kudos
Reply
1,153 Views
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