Hi all,
I have a setup where a security camera RTSP stream writes to a file on the HA server. Rather than eat up network space with HA also hitting the camera with RTSP, I’d like to stream the newest frames from the local file. I’ve have this:
- platform: ffmpeg
name: Test
input: /cctv/cam/test.avi
#extra_arguments: -sseof -1 # Tried this too, no luck.
And in my main config:
homeassistant:
whitelist_external_dirs:
- /cctv/cam
The test.avi
file is a constantly written to file from the RTSP stream. The only thing similar I’ve found is Ffmpeg camera from local video file, but their only solution was to stream the file via VLC. And the live
hack didn’t work for me either.
The error I get is:
ERROR (stream_worker) [homeassistant.components.stream.stream.camera.test] Error from stream worker: Stream ended; no additional packets
Ideas?