diff --git a/scripts/find_broken_smils.py b/scripts/find_broken_smils.py new file mode 100644 index 0000000..186989e --- /dev/null +++ b/scripts/find_broken_smils.py @@ -0,0 +1,224 @@ +#!/usr/bin/env python3 +"""Find (and optionally repair) SMIL manifests damaged by the archive transcriber. + +Incident 2026-07-13: older versions of archive_transcriber.py created a SMIL +from scratch when the original was missing, or regenerated it after an XML +parse error. Such SMILs reference only ONE video variant (the best rendition, +usually _1080p) instead of all transcoder renditions, carry no NAME, and +inject malformed CODECS ("avc1,mp4a") into the Wowza playlist — breaking +adaptive playback. + +Fingerprint of a transcriber-created SMIL: + - exactly one