06 August 2008 - Default frame size changed
Format fields
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
size | Video frame size. | All: WxH, whereW and N are any non-zero even integers. 3gp: 128x96, 176x144, 352x288, 704x576, 1408x1152 ipod: 320x240, 640x480 iphone: 480x368 appletv: 710x480 zune: 320x180, 320x240 | All: none 3gp: 176x144 iphone: 480x368 appletv: 710x480 psp: 368x192 zune: 320x180 |
Main fields
UserID – an unique user identifier. Can be taken from user's page.
UserKey – user's key string. Creates automatically when user created and can be changed by user.
Action – the action to be performed.
- AddMedia – add new media to user's media list, creates new items in a queue according to formats specified in XML
- AddMediaBenchmark - add new media to user's media list and set a flag for NOT processing it after downloading. Format fields could be specified as well.
- UpdateMedia – replace information about existing media's formats. All old format items will be deleted, and the new ones added.
- ProcessMedia - start encoding of previously downloaded media (one that added with AddMediaBenchmark action)
- CancelMedia – delete specified media and all its items in queue
- GetMediaList – return list of user's media
- GetStatus – return information about selected user's media and all its items in queue
- GetMediaInfo - returns some video parameters of the specified media, if available
MediaID – an unique identifier of media. This field must be specified for the following actions: UpdateMedia, CancelMedia, GetStatus.
SourceFile – media source file. It can be in the following formats: http://[user]:[password]@ [server]/[path]/[filename] or ftp://[user]:[password]@[server]/[path]/[filename] or sftp://[user]:[password]@[server]/[path]/[filename] or http://[bucket].s3.amazonaws.com/[filename] – the object must have READ permission for AWS user 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869 (or for all users). See http://docs.amazonwebservices.com/AmazonS3/latest/dev/ACLOverview.html#SpecifyingGrantee for details. This field must be specified only for AddMedia action.
NotifyURL – could be either an URL of the script the result would be posted to, or a mailto: link with email address the result info to be sent. This field may be specified for AddMedia action.