A repeatable FFprobe and FFmpeg workflow for locating the first damaged generation before re-exporting, restoring, or upscaling a video.