12 August 2011
over 13 years ago by Encoding.com Product Team
S3 source option
| SourceFile | | ...http://[AWS_KEY:AWS_SECRET@][bucket].s3.amazonaws.com/[filename]?nocopy - if 'nocopy' is specified, the source file will be downloaded directly from your bucket (for each encoding task), it saves time, please use it if your buckets are located in the US. If not specified, the source will be copied to encoding.com bucket first, it saves your traffic in case of non-US buckets and more than one encoding task per source.... |
Preset for Wowza Multi-bitrate
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>wowza_multibitrate</output>
<bitrates>[CommaSeparatedList]</bitrates>
<sizes>[CommaSeparatedList]</sizes>
<!-- Destination fields -->
<destination>[DestFile]</destination> <!-- REQUIRED -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "wowza_multibitrate",
"bitrates": "[CommaSeparatedList]",
"sizes": "[CommaSeparatedList]",
"destination": "[DestFile]"
}
}
}
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
bitrates Comma separated list of video bitrates | One or more valid bitrate values separated by commas | 270k,570k,1000k,1200k,1400k | |
sizes Comma separated list of video sizes | One or more valid size values separated by commas | 320x180,420x270,720x406,1024x576,1080x608 |
New presets
Option | Description | Allowed Values | Default Values |
---|---|---|---|
(required) output Format type | ...wowza, wowza_multibitrate. | None. |
Keep audio parameters
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<audio_codec>copy</audio_codec>
<!-- ... -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"audio_codec": "copy"
}
}
}
If you specify audio_codec equal to 'copy', the options audio_channels_number, audio_sample_rate, audio_bitrate will be ignored and their values will be copied from your source file.
PNG with alpha-channel as Logo source
If your logo source is PNG with alpha-channel, set logo_mode equal to 1, to keep transparency.