Can't get image from PCam 5C running on Zybo Z7-20 with petalinux

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":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]

Reply to
Swapnil Patil
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.