Hello folks, I am running Zybo Z7-20 Pcam petalinux project on Zybo Z7-20 board. From README.md file below command will create 14 image files in current directory yavta -c14 -f YUYV -s "$width"x"$height" -F /dev/video0 when we test similarly our log stucks as per below root@test0:~# yavta -c1 -f YUYV -s "$width"x"$height" -F /dev/video0 Device /dev/video0 opened. Device `video_cap output 0' on `platform:video_cap:0' is a video output (without mplanes) device. Video format set: YUYV (56595559) 1280x720 field none, 1 planes: * Stride 2560, buffer size 1843200 Video format: YUYV (56595559) 1280x720 field none, 1 planes: * Stride 2560, buffer size 1843200 8 buffers requested. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xb6c29000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xb6a67000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xb68a5000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xb66e3000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xb6521000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xb635f000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xb619d000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xb5fdb000. from this we are not sure whether the images created or not. when we run media device information command(media-ctl -p) we get following log root@test0:~# media-ctl -p Media controller API version 4.9.0 Media device information ------------------------ driver xilinx-video model Xilinx Video Composite Device serial bus info hw revision 0x0 driver version 4.9.0 Device topology - entity 1: video_cap output 0 (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "43c60000.mipi_csi2_rx_subsystem":0 [ENABLED] - entity 5: ov5640 1-003c (1 pad, 1 link) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev0 pad0: Source [fmt:UYVY/1280x720 field:none] -> "43c60000.mipi_csi2_rx_subsystem":1 [ENABLED] - entity 7: 43c60000.mipi_csi2_rx_subsystem (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 pad0: Source [fmt:UYVY/1280x720 field:none] -> "video_cap output 0":0 [ENABLED] pad1: Sink [fmt:UYVY/1280x720 field:none] <- "ov5640 1-003c":0 [ENABLED] when we run v4l2-ctl --all, root@test0:~# v4l2-ctl --all Driver Info (not using libv4l2): Driver name : xilinx-vipp Card type : video_cap output 0 Bus info : platform:video_cap:0 Driver version: 4.9.0 Capabilities : 0x84201000 Video Capture Multiplanar Streaming Extended Pix Format Device Capabilities Device Caps : 0x04201000 Video Capture Multiplanar Streaming Extended Pix Format Priority: 2 Format Video Capture Multiplanar: Width/Height : 1280/720 Pixel Format : 'YUYV' Field : None Number of planes : 1 Flags : Colorspace : Default Transfer Function : Default YCbCr Encoding : Default Quantization : Default Plane 0 : Bytes per Line : 2560 Size Image : 1843200 root@test0:~# Thanks in advance.
Can't get image from PCam 5C running on Zybo Z7-20 with petalinux
Started by ●December 14, 2019