Jump to content

Antoine_q

Members
  • Posts

    2
  • Joined

  • Last visited

Antoine_q's Achievements

  1. Hello, After some complementary search, here are the conclusions I made : - The source I found isn't, indeed, up to date. Yavta source can be found at : https://git.ideasonboard.org/yavta.git. Code is accessible by git cloning the repo. - Reading code, it is easy to find where to retreive buffers in Userptr memory mode. For those how have "memory continguous problem" error using this mode, a good solution can be found at https://support.xilinx.com/s/question/0D52E00006iHv2USAS/user-space-drivers-and-contiguousmemory-buffers-for-pl-accelerators-dma?language=en_US Hope this will help you, A.B.
  2. Hello forum, I am currently prototyping a video application with a ZyboZ7 board and a PCam camera. I managed to get the Petalinux demo to work properly and get the images as a binary file using the yavta utility. For my application, I don't want images as binary files but as buffers, which will be sent over ethernet. To do this, I try to adapt yavta using the source code found at https://github.com/fastr/yavta . At first, I try to make it work with the goal of getting the same result as before (frame as a binary file). I am stuck at this stage. My command is : width=1920 && height=1080 && rate=15 media-ctl /dev/media0 -p media-ctl -d /dev/media0 -V '"ov5640 2-003c":0 [fmt:UYVY/'"$width"x"$height"'@1/'"$rate"' field:none]' media-ctl -d /dev/media0 -V '"43c60000.mipi_csi2_rx_subsystem":1 [fmt:UYVY/'"$width"x"$height"' field:none]' v4l2-ctl -d /dev/video0 --set-fmt-video=width="$width",height="$height",pixelformat='YUYV' ./yavta -c14 -f YUYV -s "$width"x"$height" -F /dev/video0 The error I am having is : Error opening device /dev/video0: neither video capture nor video output supported. It seems like the source I found is not the one loaded in Petalinux. Do you have any information on how to get the actual source code from Yavta (if it is possible)? If not, do you have any idea on how to fix this error? Thanks for your time. Antoine
×
×
  • Create New...