I have a 5 second delay to ensure the file is copied before running ffmpegįFMPEG Shell Command (Referenced in Automation): ffmpeg_gif: '/usr/bin/ffmpeg -i `/bin/ls -dtr1 /video_clips/*.mkv | tail -1` -vf fps=15,scale=320:-1:flags=lanczos -y /config/tmp/front_door.gif' The MKV has to be converted to GIF because pushover does not support MKV files.Ĭonvert to Animated GIF & Send via Pushover: - alias: 'Front Door Motion' Here’s my setup, advice appreciated.ġ.) Axis camera detects motion, saves a MKV via SFTP to a network locationĢ.) Axis camera makes a web service call to HA to run the ffmpeg/push automation. This automation works well most of the time, but due to a dependency where the camera needs to finish writing a MKV clip, i sometimes end up with an old gif vs the latest. Looking for advice on how to improve my security camera to animated gif + push process.
0 Comments
Leave a Reply. |