Anyway, the way most of these recording engines would work is basically that they would feed the recorded video through a "script" at the end, and so within that script you could send it to another program to find the ads. This was done with [ComSkip](https://www.team-mediaportal.com/wiki/display/MediaPortal1/C...) on MediaPortal and Argus TV. From memory, ComSkip would write a txt file or similar next to the video, and that was like a metadata file letting the playback program know where the ads were.
I'm not 100% sure how ComSkip worked internally, but there are many clues in the video stream it could use to find the ads (eg. often the static logo would disappear, or the teletext end, or the volume increase). It wasn't perfect, but it was good enough. I reckon with today's machine learning capabilities, such a program could be written to skip the ads perfectly 99% of the time. But I doubt anyone will, because even I haven't used my HTPC in this manner for over 5 years (I don't even have the TV connected to the aerial any more). Now my HTPC is just a fanless mini PC stick with Win11, a keyboard and mouse on the coffee table, and I stream through the web browser.