Hello
I have a DVR Dahua that can be accessed by rtsp://…
The terminal can save a picture with the command
ffmpeg -rtsp_transport tcp -i rtsp://user:pass@192.168.1.75:554/cam/realmonitor?channel=1 -y -frames:v 1 -f image2 Door.jpg >/home/pi/Door.jpg
(image is saved - Door.jpg 31kb) ok.
The problem is when the order is entered into the rule.
WHEN
Door is open
THEN
execute “ffmpeg -rtsp_transport tcp -i rtsp://user:pass@192.168.1.75:554/cam/realmonitor?channel=1 -y -frames:v 1 -f image2 Door.jpg >/home/pi/Door.jpg”
The image is saved but no information (Door.jpg 0kb)
I do not know how to find the problem.