A video-capture record/playback system for automated testing of set-top boxes