yospaceCDS Transcoding Hub Conversion ID Reference
Standard Conversion IDs are provided below. Please see below for information on additional parameters.
Please note: This page relates to transcoding profiles relating to the low-level yospaceCDS Web Services API and is only relevant to parties using this API. The yospaceCDS Mobile Delivery Solution performs automatic format conversion based on the device accessing the video.
Common Parameters
| Parameter Name | Description |
|---|---|
| SIZE | Usage: Defines the output frame size, in pixels. Syntax: For arbitrary sizes, use the syntax wxh, for example, 160x128. You can also use any of the following known standard sizes: sqcif, qcif, cif, 4cif, qqvga, qvga, vga, svga, xga, uxga, qxga, sxga, qsxga, hsxga, wvga, wxga, wsxga, wuxga, woxga, wqsxga, wquxga, whsxga, whuxga, cga, ega, hd480, hd720, and hd1080 |
| STARTPOINT | Usage: Defines the start point—how far in from the beginning of the video or audio track—at which the script will operate. A script converting to a new format could start conversion, for example, 5 seconds in from the start. A thumbnail script may take a snapshot of the frame at the specified start point. Syntax: Timestamp syntax HH:MM:SS[:mmm] The mmm field (for milliseconds) is optional. Examples: 00:01:27 |
| VARIANT | Usage: Defines the variant ID that the conversion script will generate. This is useful because a script can use this parameter to provide different output based on the variant you specify. This is particularly important because YospaceCDS content access is behind a cache, and therefore every URL must uniquely identify the content. If you use the same variant ID for different variations of content from the same script, you will only be able to access one of them. Syntax: Any string, which will be URL-encoded in the request URL. For more information on specifying variants IDs in the content access URLs, see page 31, File handlers (MIME type, conversion ID, variant). Examples: 1 |
| DEINTERLACE | Usage: Assert this parameter if the source video file is interlaced. YospaceCDS will apply deinterlacing filters before processing the file. Caution: it may degrade the quality of output if applied to non-interlaced file. Syntax: No value required. |
Windows Media Video
| Conversion ID [Default Variant] | Specification |
Description | Parameters Supported |
|---|---|---|---|
| 1000 [1] | Video-Video[WMV] 300k,20fps,QVGA,WMV8,WMV8-M-32k | Converts to QVGA WMV8 at 20fps, total data rate 300kbps. Mono audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1001 [1] | Video-Video[WMV] 512k,25fps,QVGA,WMV8,WMV8-M-32k | Converts to QVGA WMV8 at 25fps, total data rate 512kbps. Mono audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1002 [1] | Video-Video[WMV] 700k,25fps,QVGA,WMV8,WMV8-M-48k | Converts to QVGA WMV8 at 25fps, total data rate 700kbps. Mono audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1003 [1] | Video-Video[WMV] 700k,29.97fps,QVGA,WMV8,WMV8-M-48k | Converts to QVGA WMV8 at 29.97fps, total data rate 700kbps. Mono audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1004 [1] | Video-Video[WMV] 512k,25fps,420x315,WMV8,WMV8-M-32k |
Converts to 420x315 WMV8 at 25fps, total data rate 512kbps. Mono audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1100 [1] | Video-Video[WMV] 300k,20fps,QVGA,WMV9,WMV9-M-32k | Converts to QVGA WMV9 at 20fps, total data rate 300kbps. Mono WMV9 audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1101 [1] | Video-Video[WMV] 512k,25fps,QVGA,WMV9,WMV9-M-32k | Converts to QVGA WMV9 at 25fps, total data rate 512kbps. Mono WMV9 audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1102 [1] | Video-Video[WMV] 700k,25fps,QVGA,WMV9,WMV9-M-48k | Converts to QVGA WMV9 at 25fps, total data rate 700kbps. Mono WMV9 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1103 [1] | Video-Video[WMV] 700k,29.97fps,QVGA,WMV9,WMV9-M-48k | Converts to QVGA WMV9 at 29.97fps, total data rate 700kbps. Monon WMV9 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 1104 [1] | Video-Video[WMV] 512k,25fps,420x316,WMV9,WMV9-M-32k |
Converts to 420x315 WMV9 at 25fps, total data rate 512kbps. Mono WMV9 audio track at 32kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
Flash Video
| Conversion ID [Default Variant] | Specification | Description | Parameters Supported |
|---|---|---|---|
| 2000 [1] | Video-Video[FLV] 300k,15fps,QVGA,H263,MP3-M-48k | Converts to QVGA FLV (Sorenson Spark/H263) at total data rate 300kps at 15fps. Mono MP3 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2001 [1] | Video-Video[FLV] 700k,25fps,240x180, H263,MP3-M-64k | Converts to 240x180 FLV (Sorenson Spark/H263) at total data rate 700kps at 25fps. Mono MP3 audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2002 [1] | Video-Video[FLV] 700k,29.97fps,240x180, H263,MP3-M-64k | Converts to 240x180 FLV (Sorenson Spark/H263) at total data rate 700kps at 29.97fps. Mono MP3 audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2100 [1] | Video-Video[FLV] 300k,15fps,QVGA,VP6,MP3-M-48k | Converts to QVGA (320x240) VP6 FLV at total data rate 300kps at 15fps. Mono MP3 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2101 [1] | Video-Video[FLV] 700k,25fps,240x180,VP6,MP3-M-64k | Converts to 240x180 VP6 FLV at total data rate 700kps at 25fps. Mono MP3 audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2102 [1] | Video-Video[FLV] 700k,29.97fps,240x180,VP6,MP3-M-64k | Converts to 240x180 VP6 FLV at total data rate 700kps at 29.97fps. Mono MP3 audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2103 [1] | Video-Video[FLV] 300k,25fps,176x144,VP6,MP3-M-48k | Converts to 176x144 VP6 FLV at total data rate 300kps at 25fps. Mono MP3 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2104 [1] | Video-Video[FLV] 400k,25fps,420x315,VP6,MP3-M-48k | Converts to 420x315 VP6 FLV at total data rate 400kps at 25fps. Mono MP3 audio track at 48kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2105 [1] | Video-Video[FLV] 400k,30fps,420x315,VP6,MP3-M-48k | Converts to 420x315 VP6 FLV at total data rate 400kps at 29.97fps. Mono MP3 audio track at 48kbps @ 44.1KHz. . | STARTPOINT, VARIANT, DEINTERLACE |
| 2106 [1] | Video-Video[FLV] 700k,25fps,480x360,VP6,MP3-M-96k | Converts to 480x360 VP6 FLV at total data rate 700kps at 25fps. Mono MP3 audio track at 96kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 2107 [1] | Video-Video[FLV] 700k,30fps,480x360,VP6,MP3-M-96k | Converts to 480x360 FLV at total data rate 700kps at 29.97fps. Mono MP3 audio track at 96kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
3GPP Video
| Conversion ID [Default Variant] | Specification | Description | Parameters Supported |
|---|---|---|---|
| 4000 [1] | Video-Video[3GP] 80k,15fps-24kf,QCIF,MPEG4,AMRNB-12-2 | Converts to QCIF 3GPP file using MPEG-4 video track at total data rate of 80kbps at 15fps (with key frame every 24 frames). AMR-NB 12.2kbps audio @ 8KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4001 [1] | Video-Video[3GP] 80k,15fps,QCIF,MPEG4,AMRNB-12-2 | Converts to QCIF 3GPP file using MPEG-4 video track at total data rate of 80kbps at 15fps. AMR-NB 12.2kbps audio @ 8KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4002 [1] | Video-Video[3GP] 80k,15fps,QCIF,MPEG4S,AMRNB-12-2 | Converts to Stream Hinted QCIF 3GPP file using MPEG-4 video track at total data rate of 80kbps at 15fps. AMR-NB 12.2kbps audio @ 8KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4003 [1] | Video-Video [3GP]80k,15fps,QCIF,H263,AMRNB-7-95 | Converts to QCIF 3GPP file using H.263 video track at total data rate of 80kbps at 15fps. AMR-NB 7.95kbps audio @ 8KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4004 [1] | Video-Video [3GP]80k,15fps,QCIF,H263S,AMRNB-7-95 | Converts to Stream Hinted QCIF 3GPP file using H.263 video track at total data rate of 80kbps at 15fps. AMR-NB 7.95kbps audio @ 8KHz. Supports STARTPOINT and VARIANT parameters. | STARTPOINT, VARIANT, DEINTERLACE |
| 4005 [1] | Video-Video [3GP]160k,15fps,QVGA,MPEG4,AACLC-M-32 | Converts to QVGA 3GPP file using MPEG-4 video track at total data rate of 160kbps at 15fps. AAC-LC 32kbps mono audio @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4006 [1] | Video-Video [3GP]160k,15fps,QVGA,MPEG4S,AACLC-M-32 | Converts to Stream Hinted QVGA 3GPP file using MPEG-4 video track at total data rate of 160kbps at 15fps. AAC-LC 32kbps mono audio @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4007 [1] | Video-Video [3GP]160k,15fps,QVGA,H263,AACLC-M-32 | Converts to QVGA 3GPP file using H.263 video track at total data rate of 160kbps at 15fps. AAC-LC 32kbps mono audio @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4008 [1] | Video-Video[3GP] 160k,15fps,QVGA,H263S,AACLC-M-32 | Converts to Stream Hinted QVGA 3GPP file using H.263 video track at total data rate of 160kbps at 15fps. AAC-LC 32kbps mono audio @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 4009 [1] | Video-Video[3GP] 80k,15fps,QCIF,H263,AACLC-M-32 | Converts to QCIF 3GPP file using H.263 video track at total data rate of 80kps at 15fps. AAC-LC 32kbps mono audio @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
MPEG-2 Video
| Conversion ID [Default Variant] | Specification | Description | Parameters Supported |
|---|---|---|---|
| 5000 [1] | Video-Video[MPG] 2000k,25fps,VGA,MPEG-2,L2-M-128 | Converts to MPEG-2 VGA video file with total data rate of 2Mbps at 25fps. Layer 2 mono audio track at 128kbps @ 44.1KHz. Supports STARTPOINT and VARIANT parameters. | STARTPOINT, VARIANT, DEINTERLACE |
| 5001 [1] | Video-Video[MPG] 2000k,29.97fps,VGA,MPEG-2,L2-M-128 | Converts to MPEG-2 VGA video file with total data rate of 2Mbps at 29.97fps. Layer 2 mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 5002 [1] | Video-Video[MPG] 1200k,25fps,QVGA,MPEG-2,L2-S-128 | Converts to MPEG-2 QVGA video file with total data rate of 1200Mbps at 25fps. Layer 2 stereo audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 5003 [1] | Video-Video[MPG] 2000k,25fps,VGA,MPEG-2,L2-S-128 |
Converts to MPEG-2 VGA video file with total data rate of 2Mbps at 25fps. Layer 2 stereo audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
MPEG-4 Video
| Conversion ID [Default Variant] | Specification | Description | Parameters Supported |
|---|---|---|---|
| 6000 [1] | Video-Video[MP4] 400k,25fps,QVGA,MPEG4,AACLC-M-128 | Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 25fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. Supports STARTPOINT and VARIANT parameters. | STARTPOINT, VARIANT, DEINTERLACE |
| 6001 [1] | Video-Video[MP4] 400k,29.97fps,QVGA,MPEG4,AACLC-M-128 | Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 29.97fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6002 [1] | Video-Video[MP4] 768k,25fps,QVGA,MPEG4,AACLC-M-128 | Converts to QVGA MPEG-4 video file with total data rate of 768kbps at 25fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6003 [1] | Video-Video[MP4] 768k,29.97fps,QVGA,MPEG4,AACLC-S-128 | Converts to QVGA MPEG-4 video file with total data rate of 768kbps at 29.97fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6004 [1] | Video-Video[MP4] 400k,25fps,QVGA,MPEG4,AACLC-S-128 | Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 25fps. AAC-LC stereo audio track at 64kbps each @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6005 [1] | Video-Video[MP4] 400k,29.97fps,QVGA,MPEG4,AACLC-S-128 | Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 29.97fps. AAC-LC stereo audio track at 64kbps each @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6006 [1] | Video-Video[MP4] 768k,25fps,QVGA,MPEG4,AACLC-S-128 | Converts to QVGA MPEG-4 video file with total data rate of 768kbps at 25fps. AAC-LC stereo audio track at 64kbps each @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6007 [1] | Video-Video[MP4] 768k,29.97fps,QVGA,MPEG4,AACLC-S-128 | Converts to QVGA MPEG-4 video file with total data rate of 768kbps at 29.97fps. AAC-LC stereo audio track at 64kbps each @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6008 [1] | Video-Video[MP4] 80k,15fps,QCIF,MPEG4,AACLC-M-16 | Converts to QVGA MPEG-4 video file with total data rate of 80kbps at 15fps. AAC-LC mono audio track at 16kbps @ 22.05KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6009 [1] | Video-Video[MP4] 80k,15fps,QCIF,MPEG4S,AACLC-M-16 | Converts to Stream Hinted QVGA MPEG-4 video file with total data rate of 80kbps at 15fps. AAC-LC mono audio track at 16kbps @ 22.05KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6010 [1] | Video-Video [MP4]400k,25fps,QVGA,MPEG4,AACLC-M-64 |
Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 25fps. AAC-LC mono audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6011 [1] | Video-Video [MP4]400k,29.97fps,QVGA,MPEG4,AACLC-M-64 |
Converts to QVGA MPEG-4 video file with total data rate of 400kbps at 29.97fps. AAC-LC mono audio track at 64kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6012 [1] | Video-Video[MP4] 768k,25fps,480x360,MPEG4,AACLC-M-128 |
Converts to 480x360 MPEG-4 video file with total data rate of 768kbps at 25fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
| 6013 [1] | Video-Video[MP4] 768k,29.97fps,480x360,MPEG4,AACLC-M-128 |
Converts to 480x360 MPEG-4 video file with total data rate of 768kbps at 29.97fps. AAC-LC mono audio track at 128kbps @ 44.1KHz. | STARTPOINT, VARIANT, DEINTERLACE |
Special Functions
0000: Canonical Upload
Performs asynchronous upload of media content and stores it as the 'canonical' data.
Required Parameter:
LOCATION-- the URL from where the content can be fetched.
Optional Parameters:
MAX_CONNECT_TIME- The maximum time in seconds to establish an HTTP connection. Default 30 secs, maximum permitted value 120 secs.MAX_TRANSFER_TIME- The maximum time in seconds to complete a single HTTP transfer attempt. Default 900 secs, maximum permitted value 3600 secs (1 hour).MIN_TRANSFER_RATE- The minimum acceptable transfer rate in bytes / second. Default 1024 bytes / second, maximum permitted value 256000 (256K/ps).MIN_TRANSFER_RATE_PERIOD- The period over which the minimum acceptable rate is assessed. Default 60 secs, minimum value 15 secs.RETRY_COUNT- The number of attempts to try the transfer before giving up. Default 5, maximum permitted value 10.RETRY_DELAY- The time in seconds between transfer retries. Default 30 secs, minimum permitted value 5 secs.MAX_RETRY_TIME- The maximum time in seconds to attempt all tries before giving up completely. Default 1800 secs, maximum permitted value 5400 secs (1.5 hours).
9000: FTP Upload
Uploads a specific format (conversion ID and variant) to the specified destination via FTP. If the format requested by this conversion and variant does not exist, the upload will fail. On failure, the string UPLOAD_ERROR will be returned to the failure notification URL.
Required Parameters:
CONVERSION_ID: the Conversion ID that is to be uploaded.LOCATION: full FTP URL, including authentication information, path and filename. For example,ftp://foo:bar@ftp.yospace.com/videos/MyVideo.3gp
If you do not specify the destination filename, the file will be namedu-<CONVERSION ID>-<VARIANT>
Optional Parameters:
CREATE_DIRS-- (use any value) the upload will create the directories to create the path you specify if they do not already exist. The default behaviour (not specifying this parameter) is to fail if the path specified does not exist.MAX_CONNECT_TIME- The maximum time in seconds to establish an FTP connection. Default 30 secs, maximum permitted value 120 secs.MAX_TRANSFER_TIME- The maximum time in seconds to complete a single FTP transfer attempt. Default 300 secs, maximum permitted value 3600 secs (1 hour).MIN_TRANSFER_RATE- The minimum acceptable transfer rate in bytes / second. Default 1024 bytes / second, maximum permitted value 256000 (256K/ps).MIN_TRANSFER_RATE_PERIOD- The period over which the minimum acceptable rate is assessed. Default 60 secs, minimum value 15 secs.RETRY_COUNT- The number of attempts to try the transfer before giving up. Default 5, maximum permitted value 10.RETRY_DELAY- The time in seconds between transfer retries. Default 30 secs, minimum permitted value 5 secs.MAX_RETRY_TIME- The maximum time in seconds to attempt all tries before giving up completely. Default 600 secs, maximum permitted value 5400 secs (1.5 hours).
9999: Single Frame Thumbnailer
By default, creates a JPEG thumbnail of the first frame of the video, at the original size of the video.
Optional Parameters:
-
STARTPOINT-- The start point at which the frame is grabbed. If the starting point from which the frame is to be taken is beyond the length of the file, the first frame is used instead. SIZE-- The frame size of the thumbnail, this can be specified in multiple ways:x[HEIGHT](e.g.x300) - the image will be scaled to be the specified height retaining its native aspect ratio[WIDTH]x(e.g.300x) - the image will be scaled to be the specified width retaining its native aspect ratio[WIDTH]x[HEIGHT](e.g.500x300) - the image will be scaled and letter or pillar boxed to fit in the specified rectangle retaining its native aspect ratio. In this case a 4:3 image will be returned as 400x300 as this is the largest 4x3 image that fits within 500x300[WIDTH]x[HEIGHT]!(e.g.500x300!) - the image will be scaled as stretched to fit exactly into the specified rectangle
DEFAULT_IMAGE_URL-- Specifies the URL of a default image to use if the content on which you are calling the thumbnail has no video track.
Common Crop Parameters
The following parameters can be used to crop pixels from the input frame. This is particularly useful when converting broadcast video that is intended to be overscanned.
Precedence
It is possible to specify any combination of cropping parameter. Where a conflict occurs it is resolved using the following precedence from lowest to highest priority.
- CROP_ALL
- CROP_VERTICAL, CROP_HORIZONTAL
- CROP_TOP, CROP_BOTTOM, CROP_LEFT, CROP_RIGHT
| Parameter Name | Description |
|---|---|
| CROP_TOP | Usage: Defines the number of pixels to be cropped from the top of the frame. Syntax: Integer values only |
| CROP_BOTTOM | Usage: Defines the number of pixels to be cropped from the bottom of the frame. Syntax: Integer values only |
| CROP_LEFT | Usage: Defines the number of pixels to be cropped from the left of the frame. Syntax: Integer values only |
| CROP_RIGHT | Usage: Defines the number of pixels to be cropped from the right of the frame. Syntax: Integer values only |
| CROP_VERTICAL | Usage: Defines the number of pixels to crop from both top and bottom of the frame. Therefore, the total height of the frame will be reduced by double the amount you specify. Syntax: Integer values only |
| CROP_HORIZONTAL | Usage: Defines the number of pixels to crop from both left and right of the frame. Therefore, the total width of the frame will be reduced by double the amount you specify. Syntax: Integer values only |
| CROP_ALL | Usage: Defines the number of pixels to crop from all sides of the frame. Therefore, the total width and height of the frame will be reduced by double the amount you specify. Syntax: Integer values only |
