# Display camera ip in dashboard and store video in raspberry

**URL:** <https://discourse.nodered.org/t/display-camera-ip-in-dashboard-and-store-video-in-raspberry/6349>\
**Category:** General\
**Created:** [3 January 2019 14:37 UTC](https://discourse.nodered.org/t/display-camera-ip-in-dashboard-and-store-video-in-raspberry/6349 "2019-01-03T14:37:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 January 2019 23:20 UTC](https://discourse.nodered.org/t/display-camera-ip-in-dashboard-and-store-video-in-raspberry/6349/5 "2019-01-04T23:20:26Z")

</div>

Hey Dave (@dceejay),  
When looking at the code of the code of [node-red-node-daemon](https://github.com/node-red/node-red-nodes/blob/master/utility/daemon/daemon.js), that seems to be indeed exactly what I was looking for. So thanks for the tip !!!

I would like to use that node for **ALL** my Ffmpeg commands, instead of the [Exec](https://github.com/node-red/node-red/blob/master/nodes/core/core/75-exec.js?pr=%2Fmetc%2Fnode-red%2Fpull%2F1#L74) node (since I can use that only for a limited set of ffmpeg commands). However my RTSP command works fine for the Exec node, but _ **I get an error for the SAME command using the daemon node** _:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b8160271dac5996e674751cb9320bbbb728cdcda.png)

I don't see any major difference between both nodes, in the way they spawn my command (based on the **same** `require('child_process').spawn`):

- The exec node:  

- The daemon node calls it with 100% the same input:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/394ae9862c63eb8b4c62b7739aa08031e0243f06.png)

Do you have any idea in which direction I could start searching ?

---

_[View the full topic](https://discourse.nodered.org/t/display-camera-ip-in-dashboard-and-store-video-in-raspberry/6349)._
