Page tree
Skip to end of metadata
Go to start of metadata

Options

Name

Type

Value

Required

offset

Integer

default: 0

No

limitIntegerdefault: 10No
idsArrayArray of integersNo

Examples

$data = array('object' => 'preset', 'action' => 'list');


Response

Response FieldsData TypeSample ValueComment
statusCode



Integer00 - success
statusMessage



String""Error or confirmation message
data



Array

Array of {Preset}s

































{Preset}

0


Array


id

Integer123System ID of the preset

name

String"Preset1"Preset name

default

Integer (0 / 1)0Whether this is default preset

deinterlace

String""

Deinterlacing

ffmpeg(yadif / bwdif / kerdeint / w3dif)

handbrake(fast, slow, slower, bob)


default_language

String"eng"Default language (ISO 639-2 formatted)

media_audio_language_order

String"eng,lat"Audio language order (ISO 639-2 formatted)

trim_lead_count

Integer10Trim leading seconds

trim_trail_count

Integer5Trim trailing seconds

encoder

String"handbrake"Encoding software (handbrake or ffmpeg)

encoding_speed

String"medium"Encoding speed (superfast / fast / medium / slow / veryslow)

color_system

String

"yuv420p"Color encoding system (source / yuv420p / yuv422p / yuv444p)

cabac

Integer (0 / 1)1CABAC

no_upscale

Integer (0 / 1)0Whether video upscaling is disabled or not

no_upscale_audio

Integer (0 / 1)0Whether audio upscaling is disabled or not

gop

Integer50Seconds/Frames between keyframes

gop_type

String"frames"GOP type ("seconds" / "frames")

output_mode

String"CBR"Bitrate encoding mode

sub_time_cut

Integer20Cut DVB subtitle endime by ms if same as next subtitle show time

force_aspect_ratio_from_manifest_xml



Integer (0 / 1)0

Force aspect ratio from XML manifest


ism_chunk_length

Integer2000000ISP chunk length (Only available when output_format is "mp4/ism")

warning_threshold

Integer1Max. video/audio length difference for warning (seconds)

error_threshold

Integer3Max. video/audio length difference for error (seconds)

fade_in_duration



Integer0Fade IN duration in seconds (0 / 1 / 2 / 3 / 5). If duration is set to a decimal point with 'fade_in_duration_ms' then this will only be a rounded integer of the set value.

fade_in_duration_ms

String"0.000"Fade IN duration in seconds with milliseconds after dot. Should be used instead of fade_in_duration.

fade_in_offset



Integer0Fade IN offset in seconds from start

fade_out_duration

Integer0Fade OUT duration in seconds (0 / 1 / 2 / 3 / 5). If duration is set to a decimal point with 'fade_out_duration_ms' then this will only be a rounded integer of the set value.

fade_out_duration_ms

String"0.000"Fade OUT duration in seconds with milliseconds after dot. Should be used instead of fade_out_duration.

fade_out_offset

Integer0Fade OUT offset in seconds from end

logo_position

String

""

Logo position ("" / "top-left" / "top-right" / "bottom-left" / "bottom-right")

logo_vertical_margin

Integer0Logo vertical margin in px

logo_horizontal_margin

Integer0Logo horizontal margin in px

video_codec

String"x264"Encoding codec (x264 or x265)

bit_depth

Integer8Video bit depth (Only available when video_codec is "x265")

logo_scale_percentage

Integer15Logo scale percentage

left_offset

Integer0Video crop settings left side

right_offset

Integer0Video crop settings right side

top_offset

Integer0Video crop settings top side

bottom_offset

Integer0Video crop settings bottom side

created_at

String (Datetime)"2016-06-06 10:58:37"

Time the preset was created (Y-m-d H:i:s)


logo_url

String"//download.cloudycdn.services/dlt..."Url to logo image download

audio_renditions

Array
Array of audio {Rendition}s







{Rendition}


0
Array



_hashString"4h6k33iri..."Hash of the rendition


titleString"name"Title


codecString"aac"Output codec


channelsString"source"Output channels


bitrateString"64"Output bitrate


sample_rateString"44100"Output sample rate


source_codecString"aac"Create this rendition only if source maches this coded


source_channelsString""Create this rendition only if source maches these audio channels


min_src_bitrateString"200"Create this rendition only if source maches this minimum bitrate


max_src_bitrateString"3000"Create this rendition only if source maches this maximum bitrate

video_renditions

Array
Array of video {Rendition}s







{Rendition}


0
Array



_hashString
Hash of the rendition


titleString
Title


bitrateString
Output bitrate


resolutionString
Output resolution


frame_rateString
Output framerate


levelString
Output level


crfString
Output CRF value


min_src_resString
Create this rendition only if source maches this minimum resolution


min_src_bitrateString
Create this rendition only if source maches this minimum bitrate


max_src_bitrateString
Create this rendition only if source maches this maximum bitrate
offset



Integer1First response record position
limit



Integer10Max. number of records in the respons
total



Integer1Number of records in response
  • No labels