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)

aspect_ratio

String"16:9"Aspect ratio of output (21:9 / 16:9 / 5:4 / 4:3 / 2:1)

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

force_cbr

Integer (0 / 1)0Force CBR

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")

output_format

String"mp4"

Output format ("mp4" / "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)

fade_in_offset



Integer0Fade IN offset in seconds from start

fade_out_duration

Integer0Fade OUT duration in seconds (0 / 1 / 2 / 3 / 5)

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

items



Array


Array of {Profile}s









{Profile}


0


Array



id

Integer802Id of the profile


preset_id

Integer1Id of the preset it's assigned to


title

String"400"Title of the profile


video_bitrate

Integer400Profile video bitrate (0 for source)


resolution

String"640x360"Profile video resolution (0x0 for source resolution)


video_framerate

Integer25Profile video framerate (0(source) / 10 / 12 / 15 / 20 / 24 / 25 / 30 / 50 / 60)


audio_bitrate

Integer96Profile audio bitrate (0(source) / 24 / 28 / 32 / 40 / 48 / 56 / 64 / 80 / 96 / 112 / 128 / 160 / 192 / 224 / 256 / 320 / 384 / 448 / 512)


audio_samplerate

Integer44100Profile audio samplerate (0(source) / 11025 / 22050 / 32000 / 44100 / 48000)


level

String"0""0" for automatic


gop

Integer0Group Of Picture


ord

Integer0Order of item corresponding to the other items
offset



Integer1First response record position
limit



Integer10Max. number of records in the respons
total



Integer1Number of records in response
  • No labels