01 July 2021
over 3 years ago by Encoding.com Product Team #2
Azure Signed URLs support
Added support of signed Azure URLs for a source media location and an output destination.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>http(s)://[account].blob.core.windows.net/[container]/[path]?sig=[Signature]&se=[SignedExpiry]&sv=[SignedVersion]&sp=[SignedPermissions]&sr=[SignedResource]</source> <!-- required-->
<format>
<output>[OutputFormat]</output> <!-- required-->
<destination>http(s)://[account].blob.core.windows.net/[container]/[path]?sig=[Signature]&se=[SignedExpiry]&sv=[SignedVersion]&sp=[SignedPermissions]&sr=[SignedResource]</destination>
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "http(s)://[account].blob.core.windows.net/[container]/[path]?sig=[Signature]&se=[SignedExpiry]&sv=[SignedVersion]&sp=[SignedPermissions]&sr=[SignedResource]", // required
"format": {
"output": "[OutputFormat]", // required
"destination": "http(s)://[account].blob.core.windows.net/[container]/[path]?sig=[Signature]&se=[SignedExpiry]&sv=[SignedVersion]&sp=[SignedPermissions]&sr=[SignedResource]"
}
}
}
URL Type | Description |
---|---|
Microsoft Azure Blob | • http(s)://[account].blob.core.windows.net/[container]/[path]?sig=[Signature]&se=[SignedExpiry]&sv=[SignedVersion]&sp=[SignedPermissions]&sr=[SignedResource] |
Pre-Signed Microsoft Azure Blob URL query parameters
Parameter | Description |
---|---|
sig | Signature hash |
se | Signature expiration date in one of the ISO 8601 UTC formats |
sv | Signature service version |
sp | Permitted operations on the signed blob resource. Permissions may be combined. |
sr | Signed blob resource type |
Audio Streams Mapping in QC Audio Tests
Added support for <audio_stream /> mapping in qc_audio_codec, qc_audio_channels, and qc_audio_channel_layout** QC tests.
Single-Bitrate Formats With Multiple Audio Streams
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>AddMedia</action> <!-- required-->
<source>[SourceFile|SourcePlaylist]</source><!-- required -->
<format>
<output>[qc_check|mp4]</output><!-- required -->
<qc>
<qc_audio_codec>
<stream>
<index>[AudioStreamIndex]</index>
<value>[CodecName]</value>
</stream>
<stream>
<!-- stream params -->
</stream>
<severity>[fatal|warning]</severity>
</qc_audio_codec>
<qc_audio_channels>
<stream>
<index>[AudioStreamIndex]</index>
<value>[ChannelsNumber]</value>
</stream>
<stream>
<!-- stream params -->
</stream>
<severity>[fatal|warning]</severity>
</qc_audio_channels>
<qc_audio_channel_layout>
<stream>
<index>[AudioStreamIndex]</index>
<value>[ChannelLayout]</value>
</stream>
<stream>
<!-- stream params -->
</stream>
<severity>[fatal|warning]</severity>
</qc_audio_channel_layout>
</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_audio_codec": {
"stream": [
{
"index": "[AudioStreamIndex]",
"value": "[CodecName]"
},
{
// stream params
}
],
"severity": "[fatal|warning]"
},
"qc_audio_channels": {
"stream": [
{
"index": "[AudioStreamIndex]",
"value": "[ChannelsNumber]"
},
{
// stream params
}
],
"severity": "[fatal|warning]"
},
"qc_audio_channel_layout": {
"stream": [
{
"index": "[AudioStreamIndex]",
"value": "[ChannelLayout]"
},
{
// stream params
}
],
"severity": "[fatal|warning]"
}
}
// format params
}
}
}