mxc_v4l2_overlay.out warnings...

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

mxc_v4l2_overlay.out warnings...

Jump to solution
2,233 Views
machlee
Contributor II

Hello...?

I'm tring overlay ov5642 video to hdmi on i.MX6Q Sabre LIte.

/unit_tests/mxc_v4l2_overlay.out -iw 1920 -ih 1080 -it 0 -il 0 -ow 1920 -oh 1080 -ot 0 -ol 0 -r 0 -t 50 -d 0 -fg -fr 30

But the hdmi video looks being cut vertically a little and there a lots of warning in console like this.

How can I fix this...?

g_display_width = 1920, g_display_height = 1080
g_display_top = 0, g_display_left = 0
sensor chip is ov5642_camera
sensor supported frame size:
640x480
320x240
720x480
720x576
1280x720
1920x1080
2592x1944
176x144
1024x768
sensor frame format: YUYV
frame_rate is 30

frame buffer width 0, height 0, bytesperline 0
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC11's EBA0 is not 8-byte aligned
imx-ipuv3 imx-ipuv3.0: IDMAC12's EBA0 is not 8-byte aligned

Labels (4)
1 Solution
1,031 Views
daiane_angolini
NXP Employee
NXP Employee

The sensor can support but the kernel driver does not.

As I know, you need to contact the camera provider in order to get access to this table. I don´t have this as well.

View solution in original post

6 Replies
1,031 Views
daiane_angolini
NXP Employee
NXP Employee

I don´t have an sabre lite with your camera, so I will not be able to work to reproduce your issue.

Could you, please, take a picture of what you´re seeing?

What´s you kernel command line?

0 Kudos
1,031 Views
machlee
Contributor II

I have cleared this issue.

It was caused by ov5642.c camera sensor device driver which was configured as 50Hz and nothing of table for 1080p, 30fps.

Sorry for late update.

Thank you.

1,031 Views
machlee
Contributor II

My Board is i.MX6Q Sabre Lite.

I need to encode video resolution of 1920x1080 in h.264 with the command like below.

/unit_tests/mxc_vpu_test.out -E "-o 0414_01_1080.h264 -f 2 -l 0 -c 100 -r 0 -w 1920 -h 1080 -b 0 -g 0 "

but I have failed.

[INFO]  VPU test program built on Dec 17 2012 16:19:53

[INFO]  Product Info: i.MX6Q/D/S

[INFO]  VPU firmware version: 2.1.7_r33576

[INFO]  VPU library version: 5.4.6

[INFO]  Format: STD_AVC

[INFO]  AVC

[INFO]  Output file "0414_01_720.h264" opened.

[INFO]  chromaInterleave 1, mapType 0, linear2TiledEnable 0

[INFO]  sensor chip is ov5642_camera

[INFO]  sensor frame size is 1920x1080

[ERR]   set frame rate failed

As I had found above, the censor device driver for ov5642  don't support register addresses and values table

for 1920x1080, 30 fps. I tried to make those table but it was very difficult and time consuming work.

I know that the ov5642 cmos sensor support up to 15 fps in resolution of 2592x1944

and then why nothing for 1920x1080 30fps..?

Is there any way I can get that table... or any hint...please...

Mach

0 Kudos
1,032 Views
daiane_angolini
NXP Employee
NXP Employee

The sensor can support but the kernel driver does not.

As I know, you need to contact the camera provider in order to get access to this table. I don´t have this as well.

1,031 Views
machlee
Contributor II

Thank you for your prompt reply.

1,031 Views
daiane_angolini
NXP Employee
NXP Employee

Great! Thanks for letting me know :smileywink:

0 Kudos