I'm trying to take snapshots of my camera's rtsp stream. Stream is working on PC which is on the same LAN network as RPi400 with home assistant and node red.
There I'm unable to get it working.
In node I use this code:
ffmpeg -i "rtsp://user:password@cameraIP:554/stream1" -vframes 1 -qscale:v2 -y
When I run it, the message under node is changed to "pid:631" -> error:1
When I debug that node, I get this message -
msg.payload : string
I tried to change the code so it doesn't contain " " but same problem.
What am I missing?