After building the first version of the closed-caption decoder, I realized that SCC format would be a more useful format to output in. There are many tools to convert SCC format subtitles into other formats. Additionally SCC captures more of the presentation details of closed captions.
Enjoy.
25 May 2014 Update: An improved version is available see here.