Monday, July 7, 2008

Kaffeine ATSC Closed Captioning Working... Almost

I made changes to Xine to start the libsupcc plugin and parse the EIA-608 closed caption info, and it's showing up in Kaffeine.

The only problem I'm having now is that because the frames can arrive out of order, the closed caption info is garbled (it's rendering the right characters but in the wrong sequencing). For example, "Hello world." is being rendered as "eHlloo Wlr.d"

I need to write some sort of sequencer to handle this. It might also have something to do with field1/field2 correlation. But it's certainly progress to see stuff show up on the display and it not be complete garbage.