25 March 2021

Baton QC Validation

Added support of running custom Baton Test Plans on your output media.

Test NameParameterSupported Formats
GENERAL VALIDATION TESTS
Baton Validation<qc_baton_validation />qc_check, mp4

Run your own Baton Test Plan on any output media within our QC service.

👍

Test Plans and Report Templates

For now, we support only manual validation and integration of the Test Plans and Report Templates.

Please reach out to us to add your Test Plan or Report Template to our system and then we will send you the needed parameters: <test_plan /> and <template />.

🚧

Media Format

Baton Validation with the qc_check format can used any single-bitrate source file type or format supported by Baton. We don't support multi-bitrate format manifests as qc_check source files.

<?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|mp4]</output><!-- required -->
        <qc> 
            <qc_baton_validation>
                <test_plan>[TestPlanHash]</test_plan> <!-- required -->
                <template>[TemplateHash]</template>
                <logo_image>[URL]</logo_image>
            </qc_baton_validation>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|mp4]", // required
            "qc": {
                "qc_baton_validation": {
                    "test_plan": "[TestPlanHash]", // required
                    "template": "[TemplateHash]",
                    "logo_image": "[URL]"
                }
            }
            // format params
        }
    }
}
ParameterDecriptionAllowed ValuesDefault Value
test_planBaton Test Plan hash ID.Stringnone
templatePDF Report Template hash ID.Stringnone
logo_imageCustom Logo Image for PDF reportValid URLnone

Advanced Multi-Source Clipping

Added ability to change advanced multi-sources clips duration.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required -->
    <userkey><<key>></userkey> <!-- required -->
    <action>AddMedia</action> <!-- required -->
    <source>[SourceFile1]</source> <!-- required -->
    <source>
        <url>[SourceFile2]</url>
        <url>[AdditionalSourceFile2]</url>
        <audio_stream>
            <start>[StartTimecode]</start>
            <finish>[FinishTimecode]</finish>
            <duration>[Duration]</duration>
            <!-- Audio stream params -->
        </audio_stream>
        <!-- Multiple audio streams -->
        <audio_stream>
            <!-- Audio stream params -->
        </audio_stream>
    </source>
    <source>
        <url>[SourceFile3]</url>
        <!-- Source params -->
    </source>
    <format> <!-- required -->
        <!-- Format params --> 
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia",  // required
        "source": [ // required
            "[SourceFile1]", 
            {
                "url": [
                    "[SourceFile2]",
                    "[AdditionalSourceFile2]"
                ],
                "audio_stream": [
                    {
                        "start": "[StartTimecode]",
                        "finish": "[FinishTimecode]",
                        "duration": "[Duration]"
                        //Audio stream params
                    }, 
                    {
                        //Audio stream params
                    }
                ]
            },
            {
                "url": "[SourceFile3]"
                // Source params
            }
        ],
        "format": { // required
            // Format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Values
Clipping Parameters
startSpecify where the video clip should start.Non-negative float or timecodenone
finishSpecify where the video clip should end.Non-negative float or timecodenone
durationSpecify the duration of the video clip.Positive integernone