14 June 2019
over 5 years ago by Encoding.com Product Team
Audio only stream in main manifest
Added option to add audio only stream to main manifest for advanced multibitrate output formats.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>[advanced_hls|fmp4_hls|advanced_fmp4]</output>
<stream>
<!-- stream params -->
</stream>
<add_audio_only>[yes|no]</add_audio_only>
<!-- Format fields -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[advanced_hls|fmp4_hls|advanced_fmp4]",
"stream": [],
"add_audio_only": "[yes|no]"
}
}
}
Parameter | Description | Available Values | Default Value |
---|---|---|---|
add_audio_only | Add an audio only stream to master HLS manifest. | yes, no | yes |
Removed minimum_duration and allowed_deviation from qc_target_segment_duration test
Removed <minimum_duration /> and <allowed_deviation /> from qc_target_segment_duration test.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>AddMedia</action>
<format>
<output>advanced_hls</output><!-- REQUIRED -->
<!-- Format fields -->
<qc>
<qc_target_segment_duration>
<value>[Number]</value>
<severity>[fatal|warning]</severity>
</qc_target_segment_duration>
</qc>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "AddMedia",
"format": {
"output": "advanced_hls",
"qc": {
"qc_target_segment_duration": {
"value": "[Number]",
"severity": "[fatal|warning]"
}
}
}
}
}
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>AddMedia</action>
<format>
<output>advanced_hls</output><!-- REQUIRED -->
<!-- Format fields -->
<stream>
<qc>
<qc_target_segment_duration>
<value>[Number]</value>
<severity>[fatal|warning]</severity>
</qc_target_segment_duration>
</qc>
</stream>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "AddMedia",
"format": {
"output": "advanced_hls",
"stream": [{
"qc": {
"qc_target_segment_duration": {
"value": "[Number]",
"severity": "[fatal|warning]"
}
}
}]
}
}
}
Changelog
- added: <add_audio_only /> parameter on format level
- removed: <minimum_duration /> from qc_target_segment_duration test
- removed: <allowed_deviation /> from qc_target_segment_duration test