Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5814

Camera board • Re: How to get image from MIPI CSI-2 interface directly on Raspberry Pi 5

$
0
0
Hi,
I have encountered a new issue.
Following your guidance, I tried configuring it using media-ctl, but it seems that entity 1: csi2 does not support the UYVY input format.

Code:

media-ctl -d /dev/media1 -rmedia-ctl -d /dev/media1 -l ''\''csi2'\'':4 -> '\''rp1-cfe-csi2_ch0'\'':0 [1]'media-ctl -d /dev/media1 -V ''\''csi2'\'':0 [fmt:UYVY8_2X8/1920x1080 field:none]'media-ctl -d /dev/media1 -V ''\''csi2'\'':4 [fmt:UYVY8_2X8/1920x1080 field:none]'v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVYv4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --stream-mmap --stream-count=1 --stream-to=uyvy-1920x1080.yuv
Result:

Code:

- entity 1: csi2 (8 pads, 8 links)            type V4L2 subdev subtype Unknown flags 0            device node name /dev/v4l-subdev0        pad0: Sink                [fmt:SBGGR10_1X10/1920x1080 field:none]                <- "veyecam2m 4-003b":0 [ENABLED,IMMUTABLE]                
It seems that this command did not execute correctly.

Code:

$ media-ctl -d /dev/media1 -V ''\''csi2'\'':0 [fmt:UYVY8_2X8/1920x1080 field:none]' --verboseOpening media device /dev/media1Enumerating entitieslooking up device: 81:27looking up device: 81:28looking up device: 81:29looking up device: 81:19looking up device: 81:20looking up device: 81:21looking up device: 81:22looking up device: 81:23looking up device: 81:24looking up device: 81:25looking up device: 81:26Found 11 entitiesEnumerating pads and linksSetting up format UYVY8_2X8 1920x1080 on pad csi2/0Format set: SBGGR10_1X10 1920x1080

Statistics: Posted by xumm — Thu Dec 21, 2023 7:42 am



Viewing all articles
Browse latest Browse all 5814

Trending Articles