05 September 2013
over 11 years ago by Encoding.com Product Team
Digital Rights Management
Flash Access DRM
Available for output formats: flv, mp4, hds.
Additional information: http://www.adobe.com/products/adobe-access.html
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<drm>yes</drm>
<drm-license-server-url>[License server url]</drm-license-server-url>
<drm-content-id>[Content ID]</drm-content-id>
<drm-common-key>[Key file url]</drm-common-key>
<drm-license-server-cert>[Certificate file url]</drm-license-server-cert>
<drm-transport-cert>[Certificate file url]</drm-transport-cert>
<drm-packager-credential>[Credential file url]</drm-packager-credential>
<drm-credential-pwd>[Password]</drm-credential-pwd>
<drm-policy-file>[Policy file url]</drm-policy-file>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"drm": "yes",
"drm-license-server-url": "[License server url]",
"drm-content-id": "[Content ID]",
"drm-common-key": "[Key file url]",
"drm-license-server-cert": "[Certificate file url]",
"drm-transport-cert": "[Certificate file url]",
"drm-packager-credential": "[Credential file url]",
"drm-credential-pwd": "[Password]",
"drm-policy-file": "[Policy file url]"
}
}
}
KeyOS for PlayReady DRM
Available for output formats: smooth_streaming.
Additional information: http://buydrm.com
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<playready>yes</playready>
<playready-apikey>[KeyOS api key]</playready-apikey>
<playready-profileid>[KeyOS profile id]</playready-profileid>
<playready-templateid>[KeyOS template id]</playready-templateid>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"playready": "yes",
"playready-apikey": "[KeyOS api key]",
"playready-profileid": "[KeyOS profile id]",
"playready-templateid": "[KeyOS template id]"
}
}
}
Video Settings
Frame accurate timecode editing
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
start | Start encoding from (sec or timecode) | non-negative float or timecode | None |
finish | Finish encoding at (sec or timecode) | positive float or timecode | None |
Note: | Timecode should have following formatHH:MM:SS[:;]FF, where:HH - hoursMM - minutesSS - secondsFF - frames[:;] - : - non drop-frame, ; - drop-frame; |
XDCAM codec for QuickTime .mov output
Supported formats: mov
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
video_codec | xdcam | None |
Aspect ratio in Wowza Multi-Bitrate (SMIL)
Default values changed:
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
sizes | Comma separated list of video sizes One or more valid size values separated by commas | 320x180, 512x288, 720x406, 1024x576, 1080x608 |
Mpeg2video video codec for mpegts
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
video_codec | mpegts: libx264, mpeg2video | mpegts: libx264 |
Ability to set FTYP for mp4 format
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
ftyp | Specify format ftyp. | mp42, 3gp5 | None |
Audio Settings
Dolby Digital AC3
Supported formats: mpeg2, mp4
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
audio_codec | ac3 | None |
Multichannel audio extracting
Allow to select and remap audio channels
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
pan | Allow to select and remap audio channels. | output_audio_chanel,input_audio_channel:output_audio_chanel,input_audio_channelExample: 0,0:1,1 | None |
Ability to specify audio_minrate, audio_maxrate, audio_bufsize
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
audio_minrate | Minimum allowed audio bitrate. | N or Nk — where N is any non-zero integer | None |
audio_maxrate | Maximum allowed audio bitrate. | N or Nk — where N is any non-zero integer | None |
audio_bufsize | Rate control buffer size (bits). | N or Nk — where N is any non-zero integer | None |
Closed captions
WebVTT closed captions for HLS
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<closed_captions>
<source>[CLOSED_CAPTIONS_SOURCE]</source>
<mux_type>webvtt</mux_type>
</closed_captions>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"closed_captions": {
"source": "[CLOSED_CAPTIONS_SOURCE]",
"mux_type": "webvtt"
}
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
mux_type | webvtt | None | |
Note: | webvtt file will be uploaded to destination with encoded output (for HLS it will be segmented) |
Caption to caption conversion
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[CLOSED_CAPTIONS_SOURCE]</source>
<format>
<output>closed_captions</output>
<type>[srt|scc|webvtt]</type>
<time_offset>[TIME_OFFSET]</time_offset>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"source": "[CLOSED_CAPTIONS_SOURCE]",
"format": {
"output": "closed_captions",
"type": "[srt|scc|webvtt]",
"time_offset": "[TIME_OFFSET]"
}
}
}
Other changes
Cache-control and expires options for S3 destination
Destination Type | Description |
---|---|
Amazon Web Services (S3) | http://[bucket].s3.amazonaws.com/[filename]?cache_control=[string] — cache_control - Can be used to specify caching behavior along the request/reply chain. http://[bucket].s3.amazonaws.com/[filename]?expires=[string] — expires - The date and time at which the object is no longer cacheable. |
Ability to disable EPSV for FTP source
Source type | Description |
---|---|
FTP / SFTP | Parameter "?disable-epsv" in source URL disables extended passive mode |