29 December 2017
about 7 years ago by Encoding.com Product Team
Changed thumbnails time format
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>thumbnail</output>
<time>[Time]</time>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "thumbnail",
"time": "[Time]"
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
time | Timestamp (in seconds, percentage rate or interval) to capture thumbnail | hh:mm:ss.ms – once created thumbnail from given timestamp. Example: | 5 |
N% – Positive percentage number from 1 to 100%. Will generate thumbnail on N% of video duration. Example: | |||
N – Positive number greater than 0.01. Will generate thumbnail on N second. Example: | |||
N! – Positive integer number greater or equals to 1. Will generate thumbnail on every N second. Example: |
Added new advanced_fmp4 output format
Advanced fMP4 output will create manifests for fmp4_hls, advanced_dash, and advanced_mss outputs with common set of fmp4 files.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>advanced_fmp4</output>
<stream>
<!-- Fields applicable for fmp4_hls manifest -->
<!-- Manifests fields -->
<manifest>
<basename>[BaseName]</basename> <!-- required-->
<add_to_manifest>
[ManifestName]:[Position],[ManifestName]:[Position]
</add_to_manifest>
<clearkey_drm>[yes|no]</clearkey_drm>
<fairplay_drm>[yes|no]</fairplay_drm>
<access_drm>[yes|no]</access_drm>
<destination>[ManifestDestination]</destination>
</manifest>
<!-- Multiple manifests may be included -->
<manifest>
<!-- manifest params -->
</manifest>
<!-- Fields applicable for advanced_dash and advanced_mss manifest -->
<add_to_manifest>[ManifestName],[ManifestName]</add_to_manifest>
</stream>
<!-- Multiple stream params may be included -->
<!-- Maximum number of available streams is 15 -->
<stream>
<!-- stream params -->
</stream>
<!-- Manifests fields -->
<!-- Multiple manifests may be included -->
<manifest>
<!-- manifest params -->
</manifest>
<!-- Fields applicable for fmp4_hls manifest -->
<!-- Alternate source fields -->
<!-- multiple alternate_sources may be included -->
<alternate_source>
<alternate_default>[yes|no|auto]</alternate_default>
<alternate_autoselect>[yes|no]</alternate_autoselect>
</alternate_source>
<!-- Format fields -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "advanced_fmp4",
"stream": [
{
"manifest": [
{
"basename": "[BaseName]",
"add_to_manifest": "[ManifestName]:[Position],[ManifestName]:[Position]",
"clearkey_drm": "[yes|no]",
"fairplay_drm": "[yes|no]",
"access_drm": "[yes|no]",
"destination": "[ManifestDestination]"
}
],
"add_to_manifest": "[ManifestName],[ManifestName]"
}
],
"manifest": [],
"alternate_source": {
"alternate_default": "[yes|no|auto]",
"alternate_autoselect": "[yes|no]"
}
}
}
}
Note
for closed captions only available ismt and webvtt muxing types.
If mux type set to webvtt it will be applied to dash and hls manifests and ismt for mss.
If mux type set to ismt it will be applied to dash and mss manifests and webvtt for hls.
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
Format Params. | |||
encryption_method | Encryption method | advanced_hls, advanced_dash, advanced_mss: aes-128-cbc, sample-aes fmp4_hls: aes-128-cbc, mpeg_cbcs, mpeg_cens, mpeg_cbc1, mpeg_cenc advanced_fmp4: mpeg_cbcs, mpeg_cens, mpeg_cbc1, mpeg_cenc | advanced_hls, advanced_dash, advanced_mss, fmp4_hls: aes-128-cbc advanced_fmp4: mpeg_cenc |
Stream Manifet Params. | |||
Note: | This feature available only for advanced_hls, fmp4_hls, and advanced_fmp4 output | ||
basename | Stream manifest basename | String | |
add_to_manifest | Add to one or several specified main manifests. If no value specified stream will be added to all main manifests. | Comma sepparated list of manifests. Optionally manifest's position could be specified as [ManifestName]:[Position] | |
clearkey_drm | Protect with Clearkey DRM | yes, no | no |
fairplay_drm | Protect with FairPlay DRM | yes, no | no |
access_drm | Protect with Adobe Access DRM | yes, no | no |
destination | Stream manifest destination | Valid destination URL | |
Alternate source params. | |||
alternate_default | Sets this source as default. | auto, yes, no | auto |
alternate_autoselect | This source will be automatically selected if it matches playback environment. | yes, no | yes |
Note | <alternate_default> <alternate_autoselect> available only for advanced_hls, fmp4_hls, and advanced_fmp4 output formats | ||
Note | If <alternate_default> is set to 'yes' <alternate_autoselect> must be set to 'yes' too! |