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

Parameters

Parameter

Type

Value

Required

name

String


Yes

defaultInteger1 / 0No
default_languageStringISO 639-2 FormatNo
default_language_orderStringThree character language code seperated by comma (ISO 639-2 Format)No
warning_thresholdInteger
No
error_thresholdInteger
No
encoderStringffpmeg | handbrakeNo
video_codecStringx264|x265No
deinterlaceString"empty" / fast / slow / slower /bobNo
aspect_ratioString4:3 / 5:4 / 16:9 / 21:9 / 2:1No
force_aspect_ratio_from_manifest_xmlInteger0 | 1No
encoding_speedStringsuperfast, fast, medium, slow, veryslowNo
color_systemStringyuv420p | yuv422p | yuv444pNo
cabacInteger0 | 1No
output_formatStringmp4 | mp4/ismNo
force_cbrInteger0 | 1No
no_upscaleInteger0 | 1No
logo_positionStringtop-left | top-right | bottom-left | bottom-rightNo
logo_scale_percentageInteger5, 10, 15, 20, 25, 50, 70No
logo_vertical_marginInteger
No
logo_horizontal_marginInteger
No
fade_in_durationInteger0 | 1 | 2 | 3 | 5No
fade_in_duration_msString"0.000"No
fade_in_offsetInteger
No
fade_out_durationInteger0 | 1 | 2 | 3 | 5No
fade_out_duration_msString"0.000"No
fade_out_offsetInteger
No

Example


$data = array(
'action' => 'create',
'object' => 'preset',
'parameters'=> array(
'name' => 'name' ,
'default' => '1',
'deinterlace' => 'fast',
'default_language' => 'lav',
'aspect_ratio' => '21:9',
'fade_out_offset' => '1',
'force_aspect_ratio_from_manifest_xml' => 1
)
);

Response

Response FieldsTypeSample ValueComment
statusCode
Integer00 - Success
statusMessage
String""Error or confirmation message
data
Array
Array of response data

idInteger23id of the updated category
  • No labels