Author Topic: Reference designs - Camera stream  (Read 1080 times)

manuwestern

  • Active Member
  • *
  • Posts: 2
Reference designs - Camera stream
« on: February 04, 2020, 10:59:46 AM »
Hi,

I have downloaded the reference design 2 with Debian stretch for vivado 2018.3.
I want to use ffmpeg or gstreamer to stream the camera video over ethernet, so that other clients can see the video.

How can i access the camera video stream source?

Greetings,
Manuel Bayer


JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1622
Re: Reference designs - Camera stream
« Reply #1 on: February 04, 2020, 11:07:59 AM »
Hi,
camera picture is stream into part of the memory. How start camera stream and get access is shown in demo 1(streamed to HDMI) and 3 (make screenshot with fbgrab app).

Demo2 stream GUI to HDMI instead of camera data. You must enable camera (send command over EMIO(see enable script on demo1/3)) to stream data into the DDR. Read this memory area and use like you want.

br
John

Oleksandr Kiyenko

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 404
Re: Reference designs - Camera stream
« Reply #2 on: February 04, 2020, 11:10:35 AM »
Hello Mr. Bayer

this project is a simple demo and not fully integrated into the Linux Video system. Camera capture is working "without" the real driver, the video stream from a camera is just transferred to the
RAM framebuffer. This solution make soft very simple and allows use of this project for standalone projects also.
To use capture functions for streaming you probably need to make your own DRM driver for VDMA, unfortunately we don't have an example for you.

Best regards
Oleksandr Kiyenko