Encoding.com API Documentation

The Encoding.com API

Welcome to the EDC developer hub. You'll find comprehensive guides and documentation to help you start working with EDC as quickly as possible, as well as support if you get stuck. Let's jump right in!

API Reference    

12 March 2020

8 months ago by Encoding.com Product Team #2

Ignore Closed Captions Absence on Copy

Added option to ignore closed captions absence when <copy /> or <direct_copy /> set to yes.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[OutputFormat]</output> <!-- required-->
        <!-- Format params -->
        <closed_captions>
            <copy>[yes|no]</copy>
            <direct_copy>[yes|no]</direct_copy>
            <ignore_cc_absence>[yes|no]</ignore_cc_absence>
        </closed_captions>
        <!-- Multiple closed captions params may be included in output format -->
        <closed_captions>
            <!-- closed captions params -->
        </closed_captions>
    </format></query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[OutputFormat]", // required
            // Format params
            "closed_captions": [
                {
                    "copy": "[yes|no]",
                    "direct_copy": "[yes|no]",
                    "ignore_cc_absence": "[yes|no]"
                },
                {
                    // closed captions params
                }
            ]
        }
    }
}

Parameter

Description

Allowed Values

Default Value

ignore_cc_absence

Ignore closed captions absence in a source file while copy or direct_copy closed captions.

yes, no

yes