Replies: 2 comments
-
|
Hello, since the camera feed is being streamed into the server, you have to read that feed from the server and not from the camera. In order to extract images for preview purposes or processing purposes, you can use paths:
mycamera:
source: rpicamera
runOnReady: ffmpeg -i rtsp://localhost:8554/mycamera -vf fps=1 out%d.jpg
runOnReadyRestart: yesthis will generate an image every second, you can tune the |
Beta Was this translation helpful? Give feedback.
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
How can i capture pictures in raw directly from the camera, while running mediamtx is running?
For my project, i had setup a RPI Zero 2 with mediamtx. The stream is implement in a website on a webserver is running on a Raspberry Pi 5 (at least 8 streams necessary from 8 RPI Zero 2) to see a preview of the camera(s). While running the mediamtx i can´t capture a picture from the camera.
Isn´t it possible to capture pictures, while running mediamtx? What can i do? I want to capture pirctures every 500ms and after that, a little bit image processing.
Beta Was this translation helpful? Give feedback.
All reactions