Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

RZG2UL: Camera not able stream properly

$
0
0

Hi,

We are testing OV5640 camera with RZG2UL based custom board and able to successfully integrate and stream to RGB display using below commands.

media-ctl -d /dev/media0 -l "'rzg2l_csi2 10830400.csi2':1 -> 'CRU output':0 [1]"

media-ctl -d /dev/media0 -V "'rzg2l_csi2 10830400.csi2':1 [fmt:UYVY8_2X8/$ov5640_res field:none]"

media-ctl -d /dev/media0 -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/$ov5640_res field:none]"

ov5640 resolution set is 1920x1080

and streaming to display using below command

gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! fbdevsink device=/dev/fb0

since we are using 800x480 resolution RGB display and camera resolution is 1080p it is not streaming properly only part of the video is shown in the display.

if we try to scale the output using videoscale gst plugin it shows error when streaming and pipeline stops

gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! videoscale video/x-raw,width=100 ! fbdevsink device=/dev/fb0

is there any gst-plugins or pipeline to scale the camera output to our display resolution?


Viewing all articles
Browse latest Browse all 1583

Trending Articles