raspberrypi / picamera2

New libcamera based python library
BSD 2-Clause "Simplified" License
891 stars 188 forks source link

ffmpegoutput: improve clean up #1024

Closed davidplowman closed 6 months ago

davidplowman commented 6 months ago

A gc.collect() seems to be required to get the ffmpeg process to be fully cleaned up. (Specifically, ps -eLf was showing that the process's threads were still present.)