Storm docs logo
Search the docs.../
Explore Storm Products

Transcode Preset Update

Updates an existing transcoding preset.

Request

PropertyValue
MethodPUT
URL/api/transcode/settings/presets/{presetId}
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X PUT "{BASE_URL}/api/transcode/settings/presets/{presetId}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
presetIdintegerYesUnique identifier of the preset
Request with parameters
Code iconbash
curl -X PUT "{BASE_URL}/api/transcode/settings/presets/{presetId}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.namestringYesPreset name
data.attributes.suffixstringYesStream key suffix for transcoded output
data.attributes.videoobjectYesVideo encoder configuration
data.attributes.audioobjectYesAudio encoder configuration
Request body
Code iconjson
{
  "data": {
    "attributes": {
      "name": "720p_updated",
      "suffix": "_720p",
      "video": {
        "encoder": "libx264",
        "profile": "main",
        "bitrate": 3000,
        "frameRate": 30,
        "keyFrameInterval": 30,
        "preset": "ultrafast",
        "tune": "zerolatency",
        "height": 720
      },
      "audio": {
        "encoder": "aac",
        "channels": 2,
        "bitrate": 160,
        "sampleRate": 44100
      }
    }
  }
}

Response Body

Preset Object

ParameterTypeDescription
data.idintegerUnique identifier of the preset
data.attributes.name.valuestringPreset name
data.attributes.name.editablebooleanIndicates if the field can be modified
data.attributes.suffix.valuestringStream key suffix for transcoded output
data.attributes.suffix.editablebooleanIndicates if the field can be modified
messagestringResponse status message

Video Settings

ParameterTypeDescription
data.attributes.video.encoder.valuestringVideo encoder
data.attributes.video.encoder.editablebooleanIndicates if the field can be modified
data.attributes.video.width.valueinteger | nullOutput video width
data.attributes.video.width.editablebooleanIndicates if the field can be modified
data.attributes.video.height.valueinteger | nullOutput video height
data.attributes.video.height.editablebooleanIndicates if the field can be modified
data.attributes.video.bitrate.valueintegerVideo bitrate in kbps
data.attributes.video.bitrate.editablebooleanIndicates if the field can be modified
data.attributes.video.frameRate.valueintegerOutput frame rate
data.attributes.video.frameRate.editablebooleanIndicates if the field can be modified
data.attributes.video.keyFrameInterval.valueintegerKeyframe interval in frames
data.attributes.video.keyFrameInterval.editablebooleanIndicates if the field can be modified
data.attributes.video.profile.valuestringH.264 profile
data.attributes.video.profile.editablebooleanIndicates if the field can be modified
data.attributes.video.preset.valuestringEncoder preset
data.attributes.video.preset.editablebooleanIndicates if the field can be modified
data.attributes.video.tune.valuestringEncoder tuning
data.attributes.video.tune.editablebooleanIndicates if the field can be modified

Audio Settings

ParameterTypeDescription
data.attributes.audio.encoder.valuestringAudio encoder
data.attributes.audio.encoder.editablebooleanIndicates if the field can be modified
data.attributes.audio.codec.valuestringAudio codec
data.attributes.audio.codec.editablebooleanIndicates if the field can be modified
data.attributes.audio.bitrate.valueintegerAudio bitrate in kbps
data.attributes.audio.bitrate.editablebooleanIndicates if the field can be modified
data.attributes.audio.sampleRate.valueintegerAudio sample rate in Hz
data.attributes.audio.sampleRate.editablebooleanIndicates if the field can be modified
data.attributes.audio.channels.valueintegerNumber of audio channels
data.attributes.audio.channels.editablebooleanIndicates if the field can be modified

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "id": 3,
    "attributes": {
      "name": {
        "editable": true,
        "value": "720p_updated"
      },
      "suffix": {
        "editable": true,
        "value": "_720p"
      },
      "video": {
        "encoder": {
          "editable": false,
          "value": "libx264"
        },
        "width": {
          "editable": true,
          "value": null
        },
        "height": {
          "editable": true,
          "value": 720
        },
        "bitrate": {
          "editable": true,
          "value": 3000
        },
        "frameRate": {
          "editable": true,
          "value": 30
        },
        "keyFrameInterval": {
          "editable": true,
          "value": 30
        },
        "profile": {
          "editable": true,
          "value": "main"
        },
        "preset": {
          "editable": true,
          "value": "ultrafast"
        },
        "tune": {
          "editable": true,
          "value": "zerolatency"
        }
      },
      "audio": {
        "encoder": {
          "editable": false,
          "value": "aac"
        },
        "codec": {
          "editable": false,
          "value": "AAC"
        },
        "channels": {
          "editable": true,
          "value": 2
        },
        "bitrate": {
          "editable": true,
          "value": 160
        },
        "sampleRate": {
          "editable": true,
          "value": 44100
        }
      }
    }
  },
  "meta": {
    "executionTime": 55,
    "generatedAt": 1765799971062
  },
  "message": "Preset has been updated"
}

Error Responses

ParameterTypeDescription
messagestringHuman-readable error message
Preset Not Found (404)
Code iconjson
{
  "message": "Transcode Preset Entity not found"
}

Encoders

See Transcode Preset Create for available video and audio encoder configurations.

Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.