Skip to content

AssetEditsOriginalVideoDto

Endpoints · All schemas

FieldRequiredDescription
colorPolicyNowhat an edited version does with the original's colour. 'tone-map': an HDR original is rendered to SDR and kept as the reference; 'unsupported': this server cannot render an edited version (Dolby Vision profile 5), so saving is refused and the original stays unchanged
colorReasonNoWhy, in plain words, for the person editing
decodeRefusalNoset when this server cannot decode the original at all (a Dolby Vision profile outside the qualified matrix, more than 12 bits per component, an undescribable pixel format). colorPolicy is then 'unsupported' and colorReason says why; saving an edited version is refused before any editing
durationMsYesDuration of the original in milliseconds
heightYesDisplayed height of the original, after its rotation
widthYesDisplayed width of the original, after its rotation

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: AssetEditsColorPolicy, DecodeRefusal

{
  "properties": {
    "colorPolicy": {
      "$ref": "#/components/schemas/AssetEditsColorPolicy",
      "description": "what an edited version does with the original's colour. 'tone-map': an HDR original is rendered to SDR and kept as the reference; 'unsupported': this server cannot render an edited version (Dolby Vision profile 5), so saving is refused and the original stays unchanged"
    },
    "colorReason": {
      "description": "Why, in plain words, for the person editing",
      "type": "string"
    },
    "decodeRefusal": {
      "$ref": "#/components/schemas/DecodeRefusal",
      "description": "set when this server cannot decode the original at all (a Dolby Vision profile outside the qualified matrix, more than 12 bits per component, an undescribable pixel format). colorPolicy is then 'unsupported' and colorReason says why; saving an edited version is refused before any editing"
    },
    "durationMs": {
      "description": "Duration of the original in milliseconds",
      "exclusiveMinimum": true,
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "height": {
      "description": "Displayed height of the original, after its rotation",
      "exclusiveMinimum": true,
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "width": {
      "description": "Displayed width of the original, after its rotation",
      "exclusiveMinimum": true,
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "durationMs",
    "height",
    "width"
  ],
  "type": "object"
}