-

CommentStreams:E4788815cf9f1cd2d7abd68df010c95f

From Geekworm Wiki
Jump to navigation Jump to search

Under raspberry pi 5 kernel 6.12.62 running with the following script: I had to change to /dev/media0, disable the pisp-fe interface, also I change from RGB888 to BGR888.

v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=/home/pi/1080P60EDID.txt sleep 2 v4l2-ctl -d /dev/v4l-subdev2 --query-dv-timings v4l2-ctl -d /dev/v4l-subdev2 --set-dv-bt-timings query

media-ctl -d /dev/media0 -r media-ctl -d /dev/media0 --links "'csi2':4 -> 'pisp-fe':0 [0]" media-ctl -d /dev/media0 --links "'csi2':4 -> 'rp1-cfe-csi2_ch0':0 [1]"

media-ctl -d /dev/media0 -V "'csi2':0 [fmt:BGR888_1X24/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csi2':4 [fmt:BGR888_1X24/1920x1080 field:none]"

v4l2-ctl --verbose -d /dev/video0 \

 --set-fmt-video=width=1920,height=1080,pixelformat=BGR3 \
 --stream-mmap=4 \
 --stream-skip=3 \
 --stream-count=2 \
 --stream-to=csitest.bgr \
 --stream-poll