17 October 2012 - Closed Captions

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <region>ap-southeast-2</region> 
    <format>
        <!-- Format fields -->
        <closed_captions>
            <source>[CCSource]</source>
            <copy>[yes|no]</copy>
            <extract>[srt|scc]</extract>
            <mux_type>[cea-608|timed-text]</mux_type>
            <language>[LanguageCode]</language>
        </closed_captions>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "region": "ap-southeast-2",
        "format": {
            "closed_captions": {
                "source": "[CCSource]",
                "copy": "[yes|no]",
                "extract": "[srt|scc]",
                "mux_type": "[cea-608|timed-text]",
                "language": "[LanguageCode]"
            }
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
source
URL to Closed Captions file.
Valid URL to Closed Captions file in one of the following formats: SCC, SubRip, DFXP (TTML), SAMINone
copy
If video has Clossed Captions data stored in Timed Text or cea-608/cea-708 tracks, system will try to extract closed captions, and mux them back while encoding.If you want to mux Closed Captions to video in other (than in source video) format, you should specify mux_type.
yes, nono
mux_type
Closed captions mux type
timed-text – Closed Captions would be muxed in video as 3GPP Timed Text trackcea-608 - Closed Captions would be muxed in video as cea-608 track (works only with video codec libx264)None
language
Set language of 3GPP Timed Text track. Works only for mux_type=timed-text
either ISO 639-1 2-char code, ISO 639-2 3-char code, or the full language nameNone
extract
If video has Clossed Captions data stored in Timed Text or cea-608/cea-708 tracks, system will try to extract closed captions, and upload them to same destination as result file. If video has multiple text tracks extracted files will have integer suffix.
srt – Closed Captions would be extracted in SubRip format,scc – Closed Captions would be extracted in Scenarist Closed Captions formatNone