06 October 2022

MXF Operational Pattern 1a output

Added support of MXF Operational Pattern 1a output format.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile]</source> <!-- required -->
    <format>
        <output>mxf_op1a</output> <!-- required -->
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "mxf_op1a" // required
            // format params
        }
    }
}

Baton and Qualify support for mxf_op1a output

Added support of mxf_op1a output format for Baton and Qualify QC tests.

Test NameParameterSupported Formats
GENERAL VALIDATION TESTS
Baton Validation<qc_baton_validation />qc_check, advanced_hls, mp4, mxf, mainconcept_mxf, cablelabs_mpegts, mxf_op1a
Qualify Validation<qc_qualify_validation />qc_check, mp4, mxf, mainconcept_mxf, cablelabs_mpegts, mxf_op1a
<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile|SourcePlaylist]</source> <!-- required -->
    <format>
        <output>[qc_check|advanced_hls|mp4|mxf|mainconcept_mxf|cablelabs_mpegts|mxf_op1a]</output> <!-- required -->
        <qc> 
            <qc_baton_validation>
                <test_plan>[TestPlanHash]</test_plan> <!-- required -->
                <template>[TemplateHash]</template>
                <logo_image>[URL]</logo_image>
            </qc_baton_validation>
            <qc_qualify_validation>
                <template>[TemplateName]</template><!-- required -->
            </qc_qualify_validation>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|mp4|mxf|mainconcept_mxf|cablelabs_mpegts|mxf_op1a]", // required
            "qc": {
                "qc_baton_validation": {
                    "test_plan": "[TestPlanHash]", // required
                    "template": "[TemplateHash]",
                    "logo_image": "[URL]"
                },
                "qc_qualify_validation": {
                    "template": "[TemplateName]" // required
                }
            }
            // format params
        }
    }
}

List Qualify Templates

Added API request to get list of added Qualify templates.

List added templates

Request:
<?xml version="1.0" encoding="UTF-8"?>
<query>
    <userid><<id>></userid> <!-- required -->
    <userkey><<key>></userkey> <!-- required-->
    <action>ListQualifyTemplates</action> <!-- required-->
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "ListQualifyTemplates" // required
    }
}
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <action>listqualifytemplates</action>
    <status>Success</status>
    <result>
        <user_id><<id>></user_id>
        <templates>
            <template>[TemplateID1]</template>
            <template>[TemplateID2]</template>
            <!-- ... -->
            <template>[TemplateIDN]</template>
        </templates>
    </result>
</response>
{
    "response": {
        "action": "listqualifytemplates",
        "status": "Success",
        "result": {
            "user_id": "<<id>>",
            "templates": [
                "template": [
                    "[TemplateID1]",
                    "[TemplateID2]",
                    // ...
                    "[TemplateIDN]"
                ]
            ]
        }
    }
}