Hi… Guestion. I am trying to run a ffmpeg command . This is working in terminal but HASS cannot do this. I guess this is because i am running hassio in docker on Ubuntu… I have now enabled ffmpeg: in my configuration.yaml file. But it is still not working. Does anyone has a solution?
This is the error from the shell_command:
running command: `ffmpeg -rtsp_transport tcp -r 25 -i rtsp://admin:[email protected]:554/tcp/av0_0 -an -t 10 -c copy -map 0 -y -update 1 /usr/share/hassio/homeassistant/www/videos/camera.mkv`, return code: 1
NoneType: None```
Is there a way to fix this?
That is likely to be your problem. INSIDE HassIO that path doesn’t exist at all. INSIDE HassIO, the path to config is /config/ so the full path of that file would be /config/www/videos/camera.mkv
No idea, but if you are using a filename that includes the second, what happens when the send video piece runs a second later than the video that was captured?