# Rpi camera live stream and shoot photo

**URL:** https://discourse.nodered.org/t/rpi-camera-live-stream-and-shoot-photo/18749
**Category:** General
**Created:** [3 December 2019 17:32 UTC](https://discourse.nodered.org/t/rpi-camera-live-stream-and-shoot-photo/18749 "2019-12-03T17:32:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)
#### Post date: [3 December 2019 17:32 UTC](https://discourse.nodered.org/t/rpi-camera-live-stream-and-shoot-photo/18749/1 "2019-12-03T17:32:00Z")

</div>

I guess that i am not the first playing around with it but cannot find any solution on google.  
What i can find is how to create a livestream [https://randomnerdtutorials.com/video-streaming-with-raspberry-pi-camera/?unapproved=412347&moderation-hash=8414a072f40dc5f393753f13300b8d26#comment-412347](https://randomnerdtutorials.com/video-streaming-with-raspberry-pi-camera/?unapproved=412347&moderation-hash=8414a072f40dc5f393753f13300b8d26#comment-412347)

and shooting a photo is easy with `sudo raspistill -o image.jpg`  
or with the "take photo node"

But is not working at the same time, because you can only connect 1 time to the camera.  
Any one an idea or made a solution to do this?

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [3 December 2019 17:46 UTC](https://discourse.nodered.org/t/rpi-camera-live-stream-and-shoot-photo/18749/2 "2019-12-03T17:46:44Z")

</div>

Just brainstorming here, how about setting up the livestream and use node-red to connect to that livestream and following your flow take snapshots from it when requested?

---

<div class="post-metadata">

### Author: ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)
#### Post date: [3 December 2019 17:59 UTC](https://discourse.nodered.org/t/rpi-camera-live-stream-and-shoot-photo/18749/3 "2019-12-03T17:59:57Z")

</div>

i have the livestream in NR with a template node. that works 😉  
but how do i take that snap shot then...
