9868873860c06d7009a181f4a662d1bcf24a18e8
I couldn't get RTMP to work on the Back Yard camera because the `ffmpeg` process kept crashing: ``` ffmpeg.back_yard.clips_rtmp ERROR : av_interleaved_write_frame(): Connection reset by peer ffmpeg.back_yard.clips_rtmp ERROR : [flv @ 0x5562090c8ec0] Failed to update header with correct duration. ffmpeg.back_yard.clips_rtmp ERROR : [flv @ 0x5562090c8ec0] Failed to update header with correct filesize. ffmpeg.back_yard.clips_rtmp ERROR : Error writing trailer of rtmp://127.0.0.1/live/back_yard: Connection reset by peer watchdog.back_yard INFO : Terminating the existing ffmpeg process... watchdog.back_yard INFO : Waiting for ffmpeg to exit gracefully... ``` I thought increasing the value of `--shm-size` argument for `podman` would help, but even going as high as 1024 mebibytes did not resolve the problem. Ultimately, I decided that it is not really necessary to view the full 4k stream in real time. The back yard camera supports three streams, so I set them all up for different roles. I briefly considered using a single 1080p stream for both object detection and RTMP streaming, but this consumed considerable CPU time, so I decided against it for now. I may re-evaluate that option if I decide to purchase a TPU.
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
Languages
Jinja
86.2%
Python
6.6%
Shell
4.6%
Groovy
2.6%