03 March 2012
almost 13 years ago by Encoding.com Product Team
HLS Encryption
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>[iphone_stream|ipad_stream]</output>
<!-- ... -->
<encryption>[yes|no]</encryption>
<encryption_key>[128bit-key]</encryption_key>
<encryption_key_file>[SourceURL]</encryption_key_file>
<!-- ... -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[iphone_stream|ipad_stream]",
"encryption": "[yes|no]",
"encryption_key": "[128bit-key]",
"encryption_key_file": "[SourceURL]"
}
}
}
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
encryption Encrypt TS segements using AES-128 | yes, no | no | |
encryption_key Encryption key | 32 hexidecimal characters ([0-9a-f]) | None | |
encryption_key_file Encryption key file URL | HTTP, FTP, SFTP or S3/CloudFiles URL | None |
Aspera Server and Microsof Azure Support
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
SourceFile | Source media file. Must be specified only for AddMedia and AddMediaBenchmark actions. Aspera Server Please use such URL if your source is on the Aspera Enterprise Server or Aspera Connect Server (TM) fasp://[user[:password]@]hostname/[path]/[filename] Windows Azure Blob To access to files stored on azure blob storage use next way: http(s)://[access_key]@[account].blob.core.windows.net/[container]/path access_key should be urlencoded | ||
destination | Aspera Server fasp://[user[:password]@]hostname/[path]/[filename] Windows Azure Blob http(s)://[access_key]@[account].blob.core.windows.net/[container]/path access_key should be urlencoded Also, you can add ?acl=public-read OR ?acl=public-container OR ?acl=private after the filename. This will explicitly set access rights to the container instead of the default settings | None |
International processing
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<region>[us-east-1|us-west-1|us-west-2|eu-west-1|ap-southeast-1|ap-northeast-1|sa-east-1]</region>
<format>
<!-- Format fields -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"region": "[us-east-1|us-west-1|us-west-2|eu-west-1|ap-southeast-1|ap-northeast-1|sa-east-1]",
"format": {}
}
}
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
region Allow you to specify instance's region where your file should be processed | us-east-1 - US (Nothern Verginia),us-west-1 - US (Nothern California),us-west-2 - US (Oregon),eu-west-1 - EU (Ireland),ap-southeast-1 - Asia Pacific (Singapore),ap-northeast-1 - Asia Pacific (Tokyo),sa-east-1 - South Amerika (Sou Paulo) | us-east-1 |
Strip chapters
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<strip_chapters>[yes|no]</strip_chapters>
<!-- ... -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"strip_chapters": "[yes|no]"
}
}
}
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
strip_chapters Strip chapters markers | yes, no | no |
Kindle Fire Preset
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
(required) output Format type | flv, fl9, wmv, 3gp, mp4, m4v, ipod, iphone, ipad, android, ogg, webm, appletv, psp, zune, mp3, wma, m4a, thumbnail, image, mpeg2 (just experimental feature, please use with care, feedback is welcome), iphone_stream, ipad_stream, muxer, wowza, wowza_multibitrate, roku_800, roku_1200, roku_1800, roku_2700, roku_hls,mpegts, vidly, kindle_fire. | None. |