03 March 2012

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 NameDescriptionAllowed ValuesDefault Values
encryption
Encrypt TS segements using AES-128
yes, nono
encryption_key
Encryption key
32 hexidecimal characters ([0-9a-f])None
encryption_key_file
Encryption key file URL
HTTP, FTP, SFTP or S3/CloudFiles URLNone

Aspera Server and Microsof Azure Support

Format NameDescriptionAllowed ValuesDefault Values
SourceFileSource 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
destinationAspera 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 NameDescriptionAllowed ValuesDefault 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 NameDescriptionAllowed ValuesDefault Values
strip_chapters
Strip chapters markers
yes, nono

Kindle Fire Preset

Format NameDescriptionAllowed ValuesDefault 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.