Files
frigate/frigate/video
Josh HawkinsandGitHub 5d3b955bcb don't race the capture thread when stopping ffmpeg (#24884)
stop_all_ffmpeg called communicate() on the detect ffmpeg even when the capture thread was still reading stdout, which happened on every ffmpeg, record, and record_sub config restart and when a camera stalled during a stop. The two readers could buffer duplicate frames without bound or hang the stop. When the capture thread is still alive, it now terminates and waits, then kills, so the live thread drains the pipe and ffmpeg can finish its segment. Disable and shutdown still use stop_ffmpeg.
2026-11-07 06:32:25 -07:00
..
2026-03-25 08:44:12 -06:00
2026-10-25 18:13:00 -05:00