25 March 2021
over 3 years ago by Encoding.com Product Team #2
Baton QC Validation
Added support of running custom Baton Test Plans on your output media.
Test Name | Parameter | Supported 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
}
}
}
Parameter | Decription | Allowed Values | Default Value |
---|---|---|---|
test_plan | Baton Test Plan hash ID. | String | none |
template | PDF Report Template hash ID. | String | none |
logo_image | Custom Logo Image for PDF report | Valid URL | none |
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
}
}
}
Parameter | Description | Allowed Values | Default Values |
---|---|---|---|
Clipping Parameters | |||
start | Specify where the video clip should start. | Non-negative float or timecode | none |
finish | Specify where the video clip should end. | Non-negative float or timecode | none |
duration | Specify the duration of the video clip. | Positive integer | none |