@carl: basics are in libdcp git and ccap branch. First major difficulty is that DCP could have both subtitle & ccap, and the metadata format can't cope as all the tags for video/audio/subtitle are dumped into one parent.