UVC camera noise issue with i.MX6 L3.14.28 BSP.

cancel
Showing results for 
Search instead for 
Did you mean: 

UVC camera noise issue with i.MX6 L3.14.28 BSP.

Jump to solution
431 Views
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6SDL.

When preview UVC camera image with gstreamer 0.1 in i.MX6SDL L3.14.28 BSP, noise was occurred.

Please see the attached file, the white spots are noise.(not grime on the screen or on my suit)

UVC_camera_Noise.jpg

Our command is as below.

#export VSALPHA=1

#gst-launch v4l2src ! image/jpeg, width=1920, height=1080, framerate=30/1, rate=15 ! vpudec ! mfw_isink axis-left=0 axis-top=0 disp-width=1024 disp-height=768 sync=false

or

#export VSALPHA=1

gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv,format=(fourcc)YUY2,width=1280,height=720,framerate=10/1' ! mfw_isink axis-left=0 axis-top=0 disp-width=1024 disp-height=768 sync=false

However, the noise was not occurred with gstreamer-1.0.

Then, would you let me know how fix this noise issue with gstreamer-0.1 in L3.14.28?

Best Regards,

Satoshi Shimoda

Tags (2)
0 Kudos
1 Solution
57 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, for the mfw_isink, it will use local alpha (alpha in pixel) for video playback, so it needs 32 bpp frame buffer, if your frame buffer is 16 bpp, there will be issue for local alpha (alpha in pixel). You can set the fb0 to 32bpp to avoid such issue.

# echo 32 > /sys/class/graphics/fb0/bits_per_pixel

View solution in original post

0 Kudos
3 Replies
58 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, for the mfw_isink, it will use local alpha (alpha in pixel) for video playback, so it needs 32 bpp frame buffer, if your frame buffer is 16 bpp, there will be issue for local alpha (alpha in pixel). You can set the fb0 to 32bpp to avoid such issue.

# echo 32 > /sys/class/graphics/fb0/bits_per_pixel

View solution in original post

0 Kudos
57 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, you can use imxv4l2sink to replace the mfw_isink:

gst-launch v4l2src ! image/jpeg, width=1920, height=1080, framerate=30/1, rate=15 ! vpudec ! imxv4l2sink axis-left=0 axis-top=0 disp-width=1024 disp-height=768 sync=false

57 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  I forwarded request to the team.

Regard,

Yuri

0 Kudos