Tool/software:
Currently, I am receiving 2 camera data via CSIRX as a virtual channel.
I created a video node via media-ctl.
However, when I stream one camera, it does not stream from the other camera.
After running it once, only one camera streams.
Are there any points to check?
media-ctl :
root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -p Media controller API version 6.6.58 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:30102000.ticsi2rx hw revision 0x1 driver version 6.6.58 Device topology - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 2 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 routes: 0/0 -> 1/0 [ACTIVE] 0/1 -> 2/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] -> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] -> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] pad5: Source -> "30102000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE] pad6: Source -> "30102000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE] - entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 2 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 routes: 0/0 -> 1/0 [ACTIVE] 0/1 -> 1/1 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] <- "max96712 4-0029":4 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE] pad2: Source pad3: Source pad4: Source - entity 15: max96712 4-0029 (6 pads, 2 links, 2 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev2 routes: 0/0 -> 4/0 [ACTIVE] 0/1 -> 4/1 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] <- "max9295E 4-0042":1 [ENABLED,IMMUTABLE] pad1: Sink pad2: Sink pad3: Sink pad4: Source [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE] pad5: Source - entity 24: max9295E 4-0042 (2 pads, 2 links, 2 routes) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev3 routes: 0/0 -> 1/0 [ACTIVE] 0/1 -> 1/1 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] <- "px9210 6-001a":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/1920x1080 field:none] [stream:1 fmt:UYVY8_1X16/1920x1080 field:none] -> "max96712 4-0029":0 [ENABLED,IMMUTABLE] - entity 29: px9210 6-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 [ACTIVE] pad0: Source [stream:0 fmt:UYVY8_1X16/1920x1080@1/30 field:none colorspace:srgb ycbcr:601] [stream:1 fmt:UYVY8_1X16/1920x1080@1/30 field:none colorspace:srgb ycbcr:601] -> "max9295E 4-0042":0 [ENABLED,IMMUTABLE]
log :
root@am62axx-evm:/opt/edgeai-gst-apps# yavta -c1000 -fUYVY -s1920x1080 /dev/video4 Device /dev/video4 opened. Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes. Video f[ 198.870354] max96712 4-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 ormat set: UYVY (59565955) 1920x1080 (stride 3840) field none bu[ 198.878065] max96712 4-0029: Mapping sink 0/0 to output VC 0, type 2,30 ffer size 4147200 Video format: UYVY (59565955) 1920x1080 (stri[ 198.890303] max96712 4-0029: Mapping sink 0/1 to output VC 1, type 2,30 de 3840) field none buffer size 4147200 8 buffers requested. l[ 198.902916] max96712 4-0029: enable streaming (0) ength: 4147200 offset: 0 timestamp type/source: mono/EoF Buffer[ 198.912869] max96712 4-0029: Prepare for streaming 0/0 mapped at address 0xffffbb9fb000. length: 4147200 offset: [ 198.923189] max96712 4-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 4149248 timestamp type/source: mono/EoF Buffer 1/0 mapped at ad[ 198.935749] max96712 4-0029: enable tx port 0 dress 0xffffbb606000. length: 4147200 offset: 8298496 timestamp[ 198.946080] max96712 4-0029: enable rx port 0 type/source: mono/EoF Buffer 2/0 mapped at address 0xffffbb211[ 198.955604] max96712 4-0029: enable RX port 0 streams 0x3 000. length: 4147200 offset: 12447744 timestamp type/source: mo[ 198.966470] max9295E 4-0042: enable streaming no/EoF Buffer 3/0 mapped at address 0xffffbae1c000. length: 4147200 offset: 16596992 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffffbaa27000. length: 4147200 offset: 20746240 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xffffba632000. length: 4147200 offset: 24895488 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xffffba23d000. length: 4147200 offset: 29044736 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xffffb9e48000. 0 (0) [-] any 0 4147200 B 198.484391 198.558319 -13.532 fps ts mono/EoF 1 (1) [-] any 1 4147200 B 198.484403 198.558400 83333.333 fps ts mono/EoF 2 (2) [-] any 2 4147200 B 198.591072 198.591094 9.375 fps ts mono/EoF 3 (3) [-] any 3 4147200 B 198.624393 198.624407 30.011 fps ts mono/EoF 4 (4) [-] any 4 4147200 B 198.657726 198.657739 30.000 fps ts mono/EoF 5 (5) [-] any 5 4147200 B 198.691060 198.691074 29.999 fps ts mono/EoF 6 (6) [-] any 6 4147200 B 198.724399 198.724421 29.995 fps ts mono/EoF 7 (7) [-] any 7 4147200 B 198.757734 198.757764 29.999 fps ts mono/EoF 8 (0) [-] any 8 4147200 B 198.791069 198.791084 29.999 fps ts mono/EoF 9 (1) [-] any 9 4147200 B 198.824402 198.824417 30.000 fps ts mono/EoF ^C[ 199.258813] max96712 4-0029: disable streaming (1) [ 199.263736] max96712 4-0029: disable RX port 0 streams 0x3 [ 199.269228] max9295E 4-0042: disable streaming [ 199.273795] max96712 4-0029: disable rx port 0 [ 199.278250] max96712 4-0029: disable tx port 0 root@am62axx-evm:/opt/edgeai-gst-apps# yavta -c1000 -fUYVY -s1920x1080 /dev/video3 Device /dev/video3 opened. Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes. Video[ 201.518154] max96712 4-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 format set: UYVY (59565955) 1920x1080 (stride 3840) field none [ 201.525672] max96712 4-0029: Mapping sink 0/0 to output VC 0, type 2,30 buffer size 4147200 Video format: UYVY (59565955) 1920x1080 (st[ 201.537902] max96712 4-0029: Mapping sink 0/1 to output VC 1, type 2,30 ride 3840) field none buffer size 4147200 [ 201.550538] max96712 4-0029: enable streaming (0) length: 4147200 offset: 0 timestamp type/source: mono/EoF Buff[ 201.560461] max96712 4-0029: Prepare for streaming er 0/0 mapped at address 0xffff8cfcb000. length: 4147200 offset[ 201.570783] max96712 4-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 : 4149248 timestamp type/source: mono/EoF Buffer 1/0 mapped at [ 201.583354] max96712 4-0029: enable tx port 0 address 0xffff8cbd6000. length: 4147200 offset: 8298496 timesta[ 201.593697] max96712 4-0029: enable rx port 0 mp type/source: mono/EoF Buffer 2/0 mapped at address 0xffff8c7[ 201.603144] max96712 4-0029: enable RX port 0 streams 0x3 e1000. length: 4147200 offset: 12447744 timestamp type/source: [ 201.614063] max9295E 4-0042: enable streaming mono/EoF Buffer 3/0 mapped at address 0xffff8c3ec000. length: 4147200 offset: 16596992 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffff8bff7000. length: 4147200 offset: 20746240 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xffff8bc02000. length: 4147200 offset: 24895488 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xffff8b80d000. length: 4147200 offset: 29044736 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xffff8b418000. 0 (0) [-] any 0 4147200 B 201.223728 201.223752 56.606 fps ts mono/EoF ^C[ 203.314901] max96712 4-0029: disable streaming (1) [ 203.319835] max96712 4-0029: disable RX port 0 streams 0x3 [ 203.325330] max9295E 4-0042: disable streaming [ 203.329879] max96712 4-0029: disable rx port 0 [ 203.334346] max96712 4-0029: disable tx port 0