imx6q ipu camera output

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

imx6q ipu camera output

5,490 次查看
shlomiperlman
Contributor II

Hi,

Im using a camera sensor and the driver is configured to RGB565, when using gstremer im getting video from the device

but the images are all blurry in weird colors. this is my command:

gst-launch-1.0  imxv4l2videosrc device=/dev/video0 !  imxeglvivsink

is there a need to give the pipeline a video format parameter?

so far it wont accept "video/x-raw,format=RGB16 width=480 height=640" to any pipeline im giving it.

(also tried YUYV with no success)..

any help appreciated for getting a syntax that works,

thanks!

0 项奖励
回复
4 回复数

4,163 次查看
art
NXP Employee
NXP Employee

Refer to the Section 7.3 of the attached document.


Have a great day,
Artur

0 项奖励
回复

4,163 次查看
shlomiperlman
Contributor II

Hi,

this is my output:

# gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! 'video/x-raw,format=(string)YUYY,width=640,height=480,framerate=(fraction)30/1' ! imxeglvivsink

gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! 'video/x-raw,format=(string)UVYV,width=640,height=480,framerate=(fraction)30/1' ! imxeglvivsink

WARNING: erroneous pipeline: could not link imxv4l2videosrc0 to imxeglvivsink0

It also doesn't recognizes "imxv4l2sink" or "imxv4l2src".

my board is from boundary devices.

thanks for helping,

0 项奖励
回复

4,163 次查看
art
NXP Employee
NXP Employee

Try gst-inspect to check what devices are actually present in the system. Also, what exactly Boundary Devices board and what BSP by which vendor do you use?


Have a great day,
Artur

4,163 次查看
shlomiperlman
Contributor II

Hi,

i got this:

# gst-inspect-1.0 |grep imx

imxipu:  imxipuvideotransform: Freescale IPU video transform

imxipu:  imxipuvideosink: Freescale IPU video sink

imxipu:  imxipucompositor: Freescale IPU video compositor

imxv4l2videosrc:  imxv4l2videosrc: V4L2 CSI Video Source

imxpxp:  imxpxpvideosink: Freescale PxP video sink

imxpxp:  imxpxpvideotransform: Freescale PxP video transform

imxeglvivsink:  imxeglvivsink: Freescale EGL video sink

imxg2d:  imxg2dvideosink: Freescale G2D video sink

imxg2d:  imxg2dvideotransform: Freescale G2D video transform

imxg2d:  imxg2dcompositor: Freescale G2D video compositor

imxvpu:  imxvpudec: Freescale VPU video decoder

imxvpu:  imxvpuenc_h263: Freescale VPU h.263 video encoder

imxvpu:  imxvpuenc_h264: Freescale VPU h.264 video encoder

imxvpu:  imxvpuenc_mpeg4: Freescale VPU MPEG-4 video encoder

imxvpu:  imxvpuenc_mjpeg: Freescale VPU motion JPEG video encoder

# gst-inspect-1.0|grep v4l2

gst-inspect-1.0|grep v4l2

video4linux2:  v4l2src: Video (video4linux2) Source

video4linux2:  v4l2sink: Video (video4linux2) Sink

video4linux2:  v4l2radio: Radio (video4linux2) Tuner

video4linux2:  v4l2deviceprovider (GstDeviceProviderFactory)

The board is https://boundarydevices.com/product/sabre-lite-imx6-sbc/

the bsp: https://git.buildroot.net/buildroot

from boundary site: https://boundarydevices.com/buildroot-getting-started-guide/

in "build & flashing instructions" section.

thanks,

0 项奖励
回复