v4l2rtspserver icon indicating copy to clipboard operation
v4l2rtspserver copied to clipboard

FR: get an image/snapshot during RTSP streaming

Open Ph1975 opened this issue 3 years ago • 2 comments

I use a raspberry as a door-bell with camera (DoorPi). During my absence i´d like to get a Snapshot of the camera as soon as someone rings the door. The v4l2rtspserver is running and blocks the camera (busy device) so i cannot use any of the standard tools to get a quick snapshot. It is also not an option to shutdown the rtsp server, take a snapshot and put it back on - too time consuming.

On the other hand using ffmpeg to grab a snapshot from the stream takes quite some time until the image is pulled/converted/saved - so the visitor already might be out of sight of the camera (with my installation it is around 8-10 seconds from sending the shell-command until the file is stored).

It would be great to have a possibility to get a fast snapshot (2-3 seconds) out of the stream directly through the server.

I use a raspi 3, GBit LAN

Ph1975 avatar Jan 01 '22 17:01 Ph1975

I'm having a similar use-case with octoprint, where I want to be able to stream the webcam feed as well as take regular snapshots to create a time lapse.

ricardoboss avatar Mar 16 '22 21:03 ricardoboss

Hi @ricardoboss

Please read the CONTRIBUTING.md, it is really short.

Best Regards, Michel.

mpromonet avatar Mar 16 '22 23:03 mpromonet