Version 7.7.3

Back | 

RetranscodeAsset

URL

ovp.piksel.com/services/index.php?
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • asset_id
  • assetfile_id
  • profile_id
  • thumb_count
  • remove_existing_renditions
  • callback_url

Request

Transcoding Request Sent successfully
Usage: Retranscoding an existing asset with new transcoding profile
Callback _url=>Url encode the call back url
remove_existing_renditions=>Should be set to "true"/"false" If set to true will remove all existing renditions
asset_id, profile_id are required fields
Error Codes: 658=>Invalid Transcoding Profile,
660=>Invalid Asset File
ID,661=>Invalid Asset File,637=>Invalid Asset,
302=>Invalid Asset ID,
659=>Invalid Client,205=>invalid asset type,
1025=>Transcoding still in process

Request format

<?xml version="1.0" encoding="utf-8"?>
<retranscode_asset>
  <asset_id></asset_id>
  <assetfile_id></assetfile_id>
  <profile_id></profile_id>
  <thumb_count></thumb_count>
  <remove_existing_renditions></remove_existing_renditions>
  <callback_url></callback_url>
</retranscode_asset>

Test Example

<?xml version="1.0" encoding="utf-8"?> <request> <authentication> <user_token></user_token> <client_token></client_token> <app_name></app_name> <app_token></app_token> </authentication> <header> <header_version></header_version> <api_version>4.0</api_version> <no_cache></no_cache> </header> <retranscode_asset> <asset_id></asset_id> <assetfile_id></assetfile_id> <profile_id></profile_id> <thumb_count></thumb_count> <remove_existing_renditions></remove_existing_renditions> <callback_url></callback_url> </retranscode_asset> </request>

Response

Response format