Parameters

Parameter

Type

Value

Required

idInteger
Yes

name

String


No

defaultInteger1 / 0No
default_languageStringISO 639-2 CodeNo
default_language_orderStringThree character language code separated by comma (ISO 639-2 format)No
warning_thresholdInteger
No
error_thresholdInteger
No
encoderStringffpmeg | handbrakeNo
video_codecStringx264 | x265No
deinterlaceStringempty / fast / slow / slower /bobNo
force_aspect_ratio_from_manifest_xmlInteger0 | 1No
encoding_speedStringsuperfast, fast, medium, slow, veryslowNo
color_systemStringyuv420p | yuv422p | yuv444pNo
cabacInteger0 | 1No
output_formatStringmp4 | mp4/ismNo
no_upscaleInteger0 | 1No
logo_positionString"" | "top-left" | "top-right" | "bottom-left" | "bottom-right"No
logo_scale_percentageInteger5, 10, 15, 20, 25, 50, 70No
logo_vertical_marginInteger
No
logo_horizontal_marginInteger
No
fade_in_durationInteger0 | 1 | 2 | 5No
fade_in_duration_msString"0.000"No
fade_in_offsetInteger
No
fade_out_durationInteger0 | 1 | 2 | 5No
fade_out_duration_msString"0.000"No
fade_out_offsetInteger
No

Examples

$data = array('object' => 'preset', 'action' => 'delete', 'parameters'=> array(
    'id' => 1,
    'name' => 'test',
    'default' => '0',
    'deinterlace' => 'slow',
    'default_language' => 'eng'
);

Response

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

idInteger
id of the updated preset