Hey Dave (@dceejay),
When looking at the code of the code of node-red-node-daemon, 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 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:
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:
Do you have any idea in which direction I could start searching ?