Dear Supporting,
We are using the "V3Link d-ch Adapter Board" from ardumcam with imx390 sensor. And we are using the gstreamer to catputre the vieo on SK-AM69 board.
The ti-processor-sdk-linux-edgeai-j784s4-evm-10_01_00_05 sdk had been used with tisdk-edgeai-image-j784s4-evm prebuild images.
Currently the configuration by media-ctl -p
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:4500000.ticsi2rx
hw revision 0x1
driver version 6.6.44
Device topology
- entity 1: 4500000.ticsi2rx (9 pads, 9 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
routes:
0/0 -> 2/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "cdns_csi2rx.4504000.csi-bridge":1 [ENABLED,IMMUTABLE]
pad1: Source
-> "4500000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "4500000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
pad3: Source
-> "4500000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
pad4: Source
-> "4500000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
pad5: Source
-> "4500000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
pad6: Source
-> "4500000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
pad7: Source
-> "4500000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE]
pad8: Source
-> "4500000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE]
- entity 11: cdns_csi2rx.4504000.csi-bridge (5 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
routes:
0/0 -> 1/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "ds90ub960 7-0030":4 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "4500000.ticsi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
pad3: Source
pad4: Source
- entity 17: ds90ub960 7-0030 (6 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
routes:
0/0 -> 4/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "ds90ub953 7-0044":1 [ENABLED,IMMUTABLE]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE]
pad5: Source
- entity 26: ds90ub953 7-0044 (2 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev3
routes:
0/0 -> 1/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "imx390 9-001a":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "ds90ub960 7-0030":0 [ENABLED,IMMUTABLE]
- entity 31: imx390 9-001a (1 pad, 1 link, 2 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev4
routes:
0/0 -> 0/0 [ACTIVE]
0/0 -> 0/1 [INACTIVE]
pad0: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100@1/30 field:none colorspace:smpte170m]
-> "ds90ub953 7-0044":0 [ENABLED,IMMUTABLE]
- entity 37: 4500000.ticsi2rx context 0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video4
pad0: Sink
<- "4500000.ticsi2rx":1 [ENABLED,IMMUTABLE]
- entity 43: 4500000.ticsi2rx context 1 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video5
pad0: Sink
<- "4500000.ticsi2rx":2 [ENABLED,IMMUTABLE]
- entity 49: 4500000.ticsi2rx context 2 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video6
pad0: Sink
<- "4500000.ticsi2rx":3 [ENABLED,IMMUTABLE]
- entity 55: 4500000.ticsi2rx context 3 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video7
pad0: Sink
<- "4500000.ticsi2rx":4 [ENABLED,IMMUTABLE]
- entity 61: 4500000.ticsi2rx context 4 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video8
pad0: Sink
<- "4500000.ticsi2rx":5 [ENABLED,IMMUTABLE]
- entity 67: 4500000.ticsi2rx context 5 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video9
pad0: Sink
<- "4500000.ticsi2rx":6 [ENABLED,IMMUTABLE]
- entity 73: 4500000.ticsi2rx context 6 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video10
pad0: Sink
<- "4500000.ticsi2rx":7 [ENABLED,IMMUTABLE]
- entity 79: 4500000.ticsi2rx context 7 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video11
pad0: Sink
<- "4500000.ticsi2rx":8 [ENABLED,IMMUTABLE]
by using the following command to stream the video,
gst-launch-1.0 \
v4l2src device=/dev/video5 io-mode=dmabuf-import ! \
video/x-bayer, width=1936, height=1100, format=rggb12 ! \
tiovxisp sink_0::device=/dev/v4l-subdev4 sensor-name=SENSOR_SONY_IMX390_UB953_D3 \
dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin \
sink_0::dcc-2a-file=/opt/imaging/imx390/wdr/dcc_2a.bin format-msb=11 ! \
tiovxldc dcc-file=/opt/imaging/imx390/wdr/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 sink_0::pool-size=8 src::pool-size=8 ! \
video/x-raw, format=NV12, width=1936, height=1100, framerate=60/1 ! kmssink driver-name=tidss sync=false
there was no video been streamed,
~/work/projects/linux_builder$ ssh root@192.168.2.2
IMX390 Camera 0 detected
device = /dev/video-imx390-cam0
name = imx390
format = [fmt:SRGGB12_1X12/1936x1100 field: none]
subdev_id = /dev/v4l-imx390-subdev0
isp_required = yes
ldc_required = yes
root@am69-sk:/opt/edgeai-gst-apps# export GST_DEBUG=2
root@am69-sk:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video5 io-mode=dmabuf-import ! video/x-bayer, width=1936, height=1100, format=rggb12 ! tiovxisp sink_0::device=/dev/v4l-subdev4 sensor-name=SENSOR_SONY_IMX390_UB953_D3 dcc-isp-file=/opt/imaging/imx390/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx390/wdr/dcc_2a.bin format-msb=11 ! tiovxldc dcc-file=/opt/imaging/imx390/wdr/dcc_ldc.bin sensor-name=SENSOR_SONY_IMX390_UB953_D3 sink_0::pool-size=8 src::pool-size=8 ! video/x-raw, format=NV12, width=1936, height=1100, framerate=30/1 ! kmssink driver-name=tidss sync=false
APP: Init ... !!!
249.523644 s: MEM: Init ... !!!
249.523680 s: MEM: Initialized DMA HEAP (fd=8) !!!
249.523785 s: MEM: Init ... Done !!!
249.523798 s: IPC: Init ... !!!
249.556191 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
249.564059 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
249.564128 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
249.564140 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
249.564150 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
249.564737 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
249.564825 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
249.564959 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
249.565054 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
249.565071 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
249.565082 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
0:00:00.128925305 1996 0x967f640 WARN kmssink gstkmssink.c:2101:_validate_and_set_external_fd:<kmssink0> Can't set fd... driver-name already set.
Setting pipeline to PAUSED ...
0:00:00.235889343 1996 0xffff8c000b70 WARN v4l2src gstv4l2src.c:987:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.235926629 1996 0xffff8c000b70 WARN aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<tiovxisp0> Latency query failed
Pipeline is live and does not need PREROLL ...
0:00:00.236445345 1996 0xffff8c000d30 WARN v4l2 gstv4l2object.c:4666:gst_v4l2_object_get_crop_rect:<v4l2src0:src> VIDIOC_CROPCAP failed
0:00:00.236447635 1996 0xffff8c000b70 WARN v4l2src gstv4l2src.c:987:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.236504647 1996 0xffff8c000b70 WARN aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<tiovxisp0> Latency query failed
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.237000512 1996 0xffff8c000b70 WARN v4l2src gstv4l2src.c:987:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.237028323 1996 0xffff8c000b70 WARN aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<tiovxisp0> Latency query failed
New clock: GstSystemClock
0:00:00.237089531 1996 0xffff8c000b70 WARN v4l2src gstv4l2src.c:987:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.237112246 1996 0xffff8c000b70 WARN aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<tiovxisp0> Latency query failed
0:00:00.237464475 1996 0xffff8c000b70 WARN v4l2src gstv4l2src.c:987:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.237479816 1996 0xffff8c000d30 WARN v4l2 gstv4l2object.c:4666:gst_v4l2_object_get_crop_rect:<v4l2src0:src> VIDIOC_CROPCAP failed
0:00:00.237493487 1996 0xffff8c000b70 WARN aggregator gstaggregator.c:2159:gst_aggregator_query_latency_unlocked:<tiovxisp0> Latency query failed
Please kindly help to know the correct command to be use for capture the video stream.
Thanks,
Winner