Skip to main content

Query a Transcoding Preset

Request

Request-Line

GET /lls/v1.0/preset/{presetName}

Response

Response Body

ParameterTypeRequiredDescription
presetStringMandatorypreset name
presetStringMandatorypreset name
onlyAudioBooleanOptionalonly audio. default is false.
videoTransmuxBooleanOptionalenable video transmuxing. default is false. if true, following video parameters are ignored.
videoBitrateIntegerOptionalvideo bitrate in kbps.
videoWidthIntegerOptionalvideo width in pixels.
videoHeightIntegerOptionalvideo height in pixels.
videoFpsIntegerOptionalvideo fps.
videoGopIntegerOptionalvideo gop.
videoProfileStringOptionalvideo profile. valid values: baseline, main, high.
videoCodecStringOptionalvideo codec. valid values: h264, h265.
audioTransmuxBooleanOptionalenable audio transmuxing. default is false. if true, following audio parameters are ignored.
audioBitrateIntegerMandatoryaudio bitrate in kbps.
audioChannelsStringMandatoryaudio channels. valid values: stereo, mono.
audioSampleRateIntegerMandatoryaudio sample rate. valid values: 44100, 48000.
audioCodecStringMandatoryaudio codec. valid values: aac.
createdTimestampMandatoryTimestamp of created time in UTC timezone. Default is now.
statusStringMandatoryStatus of domain. Valid values: active, inactive.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400LLS.TranscodingPreset.NotFoundTranscoding Preset not found.

Examples

Query a Transcoding Preset

This example shows how to query the configuration of a specific transcoding preset named preset_hd_h264.

Request

GET /lls/v1.0/preset/preset_hd_h264 HTTP/1.1

Successful Response Body

{
"preset": "preset_hd_h264",
"transmuxing": false,
"videoBitrate": 2000,
"videoWidth": 1920,
"videoHeight": 1080,
"videoFps": 30,
"videoGop": 60,
"videoProfile": "high",
"videoCodec": "h264",
"audioBitrate": 128,
"audioChannels": "stereo",
"audioSampleRate": 48000,
"audioCodec": "aac",
"created": "2025-07-10T19:19:51Z",
"status": "active"
}

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour