James Lawler

TV Tuner Commercials Detector

One of the first big projects I created for fun was to learn how to write C++ code to use DirectX to read data from a DVB-T tuner card.

It is quite hard for me to remember most of the project details, but I try below to keep a record of the project.

Idea

The project idea was to be able to record live TV streams from my DVB-T card, analyse the stream and try to predict where the TV commercials are.

Record stream

The DirectX tool back in 2004 provided a GUI to be able to create a pipeline of filters from the TV input to pass it through various filters.

DirectX Filter

Commercial detection

To try and detect commericals, I used various analysis techniques like.

Results

I enjoyed building this project and learning C++, DirectX, video pixel anaylsis. I used the project personally for a while, but over time with streaming services like Netflix, the project became obsolete.