The freezedetect quirk is a good catch. A freeze that runs to the last frame never gets an end line, so closing the span at the file duration is the right fix. I'd have assumed a clean log meant a clean video. The idea of generating deliberately broken test clips instead of hunting for real ones is also what makes the script trustworthy in CI.