Hello everybody,
I am building a simple videopipeline using petalinux 2019.1 and trying save images on the SD card , the following is my design
Camera -> MIPI-CSI-RX-Subysystem -> Demosaic -> Videoframe buffer write -> ZYNQ-PS.
I have set the property using media-ctl when I use yavta -n 3 -c10 -f RGB24 -s 1280x720 --skip 7 -F /dev/video0
to sav the frame I get the following output saying broken pipe
Header 1 |
---|
Device `video_cap output 0' on `platform:video_cap:0' is a video output (without mplanes) device. Video format set: RGB24 (33424752) 1280x720 field none, 1 planes: * Stride 3840, buffer size 2764800 Video format: RGB24 (33424752) 1280x720 field none, 1 planes: * Stride 3840, buffer size 2764800 3 buffers requested. length: 1 offset: 3201989144 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xb6b9c000. length: 1 offset: 3201989144 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xb68f9000. length: 1 offset: 3201989144 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xb6656000. Unable to start streaming: Broken pipe (32). 3 buffers released. |
Alternatively when I try to save images using
v4l2-ctl -d /dev/video0 --set-fmt-video=widhth=1280,height=720,pixelformat=RGB24 --stream-mmap --stream-count=1 --stream-to = test.raw
test.raw gets saved in the current directory but has no data and is of size 0 bytes.
I am attaching my hardware design, pl.dtsi and system-user.dtsi.
Any help is greatly appreciated, Thankyou in advance