Quality Control tests can be run without transcoding. To use this feature make an AddMedia request with qc_check output format and specify tests in the <qc /> parameters block.
Note
For HLS media you should specify the master manifest as a source!
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action>
<qc_notify_format>[xml|json]</qc_notify_format>
<qc_notify>[QCNotifyURL]</qc_notify>
<source>[SourceFile1|SourcePlaylist1]</source><!-- required -->
<source>[SourceFile2|SourcePlaylist2]</source>
<!-- Multiple source files -->
<source>[SourceFileN|SourcePlaylistN]</source>
<format>
<output>qc_check</output><!-- required -->
<source_options>
<qc>
<qc_test_name_1>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_1>
<qc_test_name_2>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_2>
<!-- Multiple Tests -->
<qc_test_name_N>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_N>
</qc>
<stream>
<qc>
<qc_test_name_1>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_1>
<qc_test_name_2>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_2>
<!-- Multiple Tests -->
<qc_test_name_N>
<!-- Tests Params -->
<severity>[fatal|warning]</severity>
</qc_test_name_N>
</qc>
</stream>
</source_options>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "AddMedia",
"qc_notify_format": "[xml|json]",
"qc_notify": "[QCNotifyURL",
"source": [
"[SourceFile1|SourcePlaylist1]",
"[SourceFile2|SourcePlaylist2]",
"[SourceFileN|SourcePlaylistN]"
],
"format": {
"output": "qc_check",
"source_options": {
"qc": {
"qc_test_name_1": {
"severity": "[fatal|warning]"
},
"qc_test_name_2": {
"severity": "[fatal|warning]"
},
"qc_test_name_N": {
"severity": "[fatal|warning]"
}
},
"stream": [
{
"qc": {
"qc_test_name_1": {
"severity": "[fatal|warning]"
},
"qc_test_name_2": {
"severity": "[fatal|warning]"
},
"qc_test_name_N": {
"severity": "[fatal|warning]"
}
}
}
]
}
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
source | Specify the source media file. | Main manifest playlist with .m3u8 extension | None |