Hi all,
I’m trying to record from RTSP stream using camera.record, but no file is saved. tried to call service both with Node-red and Developer/Service calling camera.record with following parameters:
entity_id: camera.sonoff_camera
filename: “/home/record.mp4”
result is the following log:
2021-02-13 11:36:39 DEBUG (MainThread) [homeassistant.components.stream.recorder] Starting recorder worker thread
then nothing happens, no file in the /home folder.
more information:
system: hassio OS on RPI4
core version: core-2021.2.3
configuration:
homeassistant:
allowlist_external_dirs:
- /home
stream:
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
camera:
- platform: ffmpeg
name: sonoff camera
input: -rtsp_transport tcp -i rtsp://rtsp:[email protected]:554/av_stream/ch0
Further info:
camera stream can be viewed in lovelace card
Any help is appreciated.
Thanks!