i.MX6Q 1080P encode problem

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX6Q 1080P encode problem

Jump to solution
329 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
1 Solution
75 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
4 Replies
75 Views
Yuri
NXP TechSupport
NXP TechSupport

  Do You use Gstreamer ? What commands ?


~Yuri

76 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
75 Views
saurabh206
Senior Contributor III

Its good that you found the root cause.

0 Kudos
75 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