You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::UpdatePresetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass UpdatePresetRequest data as a hash:

{
  category: "__string",
  description: "__string",
  name: "__string", # required
  settings: {
    audio_descriptions: [
      {
        audio_normalization_settings: {
          algorithm: "ITU_BS_1770_1", # accepts ITU_BS_1770_1, ITU_BS_1770_2
          algorithm_control: "CORRECT_AUDIO", # accepts CORRECT_AUDIO, MEASURE_ONLY
          correction_gate_level: 1,
          loudness_logging: "LOG", # accepts LOG, DONT_LOG
          peak_calculation: "TRUE_PEAK", # accepts TRUE_PEAK, NONE
          target_lkfs: 1.0,
        },
        audio_source_name: "__string",
        audio_type: 1,
        audio_type_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
        codec_settings: {
          aac_settings: {
            audio_description_broadcaster_mix: "BROADCASTER_MIXED_AD", # accepts BROADCASTER_MIXED_AD, NORMAL
            bitrate: 1,
            codec_profile: "LC", # accepts LC, HEV1, HEV2
            coding_mode: "AD_RECEIVER_MIX", # accepts AD_RECEIVER_MIX, CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_5_1
            rate_control_mode: "CBR", # accepts CBR, VBR
            raw_format: "LATM_LOAS", # accepts LATM_LOAS, NONE
            sample_rate: 1,
            specification: "MPEG2", # accepts MPEG2, MPEG4
            vbr_quality: "LOW", # accepts LOW, MEDIUM_LOW, MEDIUM_HIGH, HIGH
          },
          ac_3_settings: {
            bitrate: 1,
            bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN, COMMENTARY, DIALOGUE, EMERGENCY, HEARING_IMPAIRED, MUSIC_AND_EFFECTS, VISUALLY_IMPAIRED, VOICE_OVER
            coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_3_2_LFE
            dialnorm: 1,
            dynamic_range_compression_profile: "FILM_STANDARD", # accepts FILM_STANDARD, NONE
            lfe_filter: "ENABLED", # accepts ENABLED, DISABLED
            metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
            sample_rate: 1,
          },
          aiff_settings: {
            bit_depth: 1,
            channels: 1,
            sample_rate: 1,
          },
          codec: "AAC", # accepts AAC, MP2, WAV, AIFF, AC3, EAC3, PASSTHROUGH
          eac_3_settings: {
            attenuation_control: "ATTENUATE_3_DB", # accepts ATTENUATE_3_DB, NONE
            bitrate: 1,
            bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN, COMMENTARY, EMERGENCY, HEARING_IMPAIRED, VISUALLY_IMPAIRED
            coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_2_0, CODING_MODE_3_2
            dc_filter: "ENABLED", # accepts ENABLED, DISABLED
            dialnorm: 1,
            dynamic_range_compression_line: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH
            dynamic_range_compression_rf: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH
            lfe_control: "LFE", # accepts LFE, NO_LFE
            lfe_filter: "ENABLED", # accepts ENABLED, DISABLED
            lo_ro_center_mix_level: 1.0,
            lo_ro_surround_mix_level: 1.0,
            lt_rt_center_mix_level: 1.0,
            lt_rt_surround_mix_level: 1.0,
            metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
            passthrough_control: "WHEN_POSSIBLE", # accepts WHEN_POSSIBLE, NO_PASSTHROUGH
            phase_control: "SHIFT_90_DEGREES", # accepts SHIFT_90_DEGREES, NO_SHIFT
            sample_rate: 1,
            stereo_downmix: "NOT_INDICATED", # accepts NOT_INDICATED, LO_RO, LT_RT, DPL2
            surround_ex_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED
            surround_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED
          },
          mp_2_settings: {
            bitrate: 1,
            channels: 1,
            sample_rate: 1,
          },
          wav_settings: {
            bit_depth: 1,
            channels: 1,
            sample_rate: 1,
          },
        },
        language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
        language_code_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
        remix_settings: {
          channel_mapping: {
            output_channels: [
              {
                input_channels: [1],
              },
            ],
          },
          channels_in: 1,
          channels_out: 1,
        },
        stream_name: "__string",
      },
    ],
    caption_descriptions: [
      {
        destination_settings: {
          burnin_destination_settings: {
            alignment: "CENTERED", # accepts CENTERED, LEFT
            background_color: "NONE", # accepts NONE, BLACK, WHITE
            background_opacity: 1,
            font_color: "WHITE", # accepts WHITE, BLACK, YELLOW, RED, GREEN, BLUE
            font_opacity: 1,
            font_resolution: 1,
            font_size: 1,
            outline_color: "BLACK", # accepts BLACK, WHITE, YELLOW, RED, GREEN, BLUE
            outline_size: 1,
            shadow_color: "NONE", # accepts NONE, BLACK, WHITE
            shadow_opacity: 1,
            shadow_x_offset: 1,
            shadow_y_offset: 1,
            teletext_spacing: "FIXED_GRID", # accepts FIXED_GRID, PROPORTIONAL
            x_position: 1,
            y_position: 1,
          },
          destination_type: "BURN_IN", # accepts BURN_IN, DVB_SUB, EMBEDDED, SCC, SRT, TELETEXT, TTML, WEBVTT
          dvb_sub_destination_settings: {
            alignment: "CENTERED", # accepts CENTERED, LEFT
            background_color: "NONE", # accepts NONE, BLACK, WHITE
            background_opacity: 1,
            font_color: "WHITE", # accepts WHITE, BLACK, YELLOW, RED, GREEN, BLUE
            font_opacity: 1,
            font_resolution: 1,
            font_size: 1,
            outline_color: "BLACK", # accepts BLACK, WHITE, YELLOW, RED, GREEN, BLUE
            outline_size: 1,
            shadow_color: "NONE", # accepts NONE, BLACK, WHITE
            shadow_opacity: 1,
            shadow_x_offset: 1,
            shadow_y_offset: 1,
            teletext_spacing: "FIXED_GRID", # accepts FIXED_GRID, PROPORTIONAL
            x_position: 1,
            y_position: 1,
          },
          scc_destination_settings: {
            framerate: "FRAMERATE_23_97", # accepts FRAMERATE_23_97, FRAMERATE_24, FRAMERATE_29_97_DROPFRAME, FRAMERATE_29_97_NON_DROPFRAME
          },
          teletext_destination_settings: {
            page_number: "__string",
          },
          ttml_destination_settings: {
            style_passthrough: "ENABLED", # accepts ENABLED, DISABLED
          },
        },
        language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
        language_description: "__string",
      },
    ],
    container_settings: {
      container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, MOV, MP4, MPD, MXF, RAW
      f4v_settings: {
        moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
      },
      m2ts_settings: {
        audio_buffer_model: "DVB", # accepts DVB, ATSC
        audio_frames_per_pes: 1,
        audio_pids: [1],
        bitrate: 1,
        buffer_model: "MULTIPLEX", # accepts MULTIPLEX, NONE
        dvb_nit_settings: {
          network_id: 1,
          network_name: "__string",
          nit_interval: 1,
        },
        dvb_sdt_settings: {
          output_sdt: "SDT_FOLLOW", # accepts SDT_FOLLOW, SDT_FOLLOW_IF_PRESENT, SDT_MANUAL, SDT_NONE
          sdt_interval: 1,
          service_name: "__string",
          service_provider_name: "__string",
        },
        dvb_sub_pids: [1],
        dvb_tdt_settings: {
          tdt_interval: 1,
        },
        dvb_teletext_pid: 1,
        ebp_audio_interval: "VIDEO_AND_FIXED_INTERVALS", # accepts VIDEO_AND_FIXED_INTERVALS, VIDEO_INTERVAL
        ebp_placement: "VIDEO_AND_AUDIO_PIDS", # accepts VIDEO_AND_AUDIO_PIDS, VIDEO_PID
        es_rate_in_pes: "INCLUDE", # accepts INCLUDE, EXCLUDE
        fragment_time: 1.0,
        max_pcr_interval: 1,
        min_ebp_interval: 1,
        nielsen_id_3: "INSERT", # accepts INSERT, NONE
        null_packet_bitrate: 1.0,
        pat_interval: 1,
        pcr_control: "PCR_EVERY_PES_PACKET", # accepts PCR_EVERY_PES_PACKET, CONFIGURED_PCR_PERIOD
        pcr_pid: 1,
        pmt_interval: 1,
        pmt_pid: 1,
        private_metadata_pid: 1,
        program_number: 1,
        rate_mode: "VBR", # accepts VBR, CBR
        scte_35_pid: 1,
        scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
        segmentation_markers: "NONE", # accepts NONE, RAI_SEGSTART, RAI_ADAPT, PSI_SEGSTART, EBP, EBP_LEGACY
        segmentation_style: "MAINTAIN_CADENCE", # accepts MAINTAIN_CADENCE, RESET_CADENCE
        segmentation_time: 1.0,
        timed_metadata_pid: 1,
        transport_stream_id: 1,
        video_pid: 1,
      },
      m3u_8_settings: {
        audio_frames_per_pes: 1,
        audio_pids: [1],
        nielsen_id_3: "INSERT", # accepts INSERT, NONE
        pat_interval: 1,
        pcr_control: "PCR_EVERY_PES_PACKET", # accepts PCR_EVERY_PES_PACKET, CONFIGURED_PCR_PERIOD
        pcr_pid: 1,
        pmt_interval: 1,
        pmt_pid: 1,
        private_metadata_pid: 1,
        program_number: 1,
        scte_35_pid: 1,
        scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
        timed_metadata: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
        timed_metadata_pid: 1,
        transport_stream_id: 1,
        video_pid: 1,
      },
      mov_settings: {
        clap_atom: "INCLUDE", # accepts INCLUDE, EXCLUDE
        cslg_atom: "INCLUDE", # accepts INCLUDE, EXCLUDE
        mpeg_2_four_cc_control: "XDCAM", # accepts XDCAM, MPEG
        padding_control: "OMNEON", # accepts OMNEON, NONE
        reference: "SELF_CONTAINED", # accepts SELF_CONTAINED, EXTERNAL
      },
      mp_4_settings: {
        cslg_atom: "INCLUDE", # accepts INCLUDE, EXCLUDE
        free_space_box: "INCLUDE", # accepts INCLUDE, EXCLUDE
        moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
        mp_4_major_brand: "__string",
      },
    },
    video_description: {
      afd_signaling: "NONE", # accepts NONE, AUTO, FIXED
      anti_alias: "DISABLED", # accepts DISABLED, ENABLED
      codec_settings: {
        codec: "FRAME_CAPTURE", # accepts FRAME_CAPTURE, H_264, H_265, MPEG2, PRORES
        frame_capture_settings: {
          framerate_denominator: 1,
          framerate_numerator: 1,
          max_captures: 1,
          quality: 1,
        },
        h264_settings: {
          adaptive_quantization: "OFF", # accepts OFF, LOW, MEDIUM, HIGH, HIGHER, MAX
          bitrate: 1,
          codec_level: "AUTO", # accepts AUTO, LEVEL_1, LEVEL_1_1, LEVEL_1_2, LEVEL_1_3, LEVEL_2, LEVEL_2_1, LEVEL_2_2, LEVEL_3, LEVEL_3_1, LEVEL_3_2, LEVEL_4, LEVEL_4_1, LEVEL_4_2, LEVEL_5, LEVEL_5_1, LEVEL_5_2
          codec_profile: "BASELINE", # accepts BASELINE, HIGH, HIGH_10BIT, HIGH_422, HIGH_422_10BIT, MAIN
          entropy_encoding: "CABAC", # accepts CABAC, CAVLC
          field_encoding: "PAFF", # accepts PAFF, FORCE_FIELD
          flicker_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE
          framerate_denominator: 1,
          framerate_numerator: 1,
          gop_b_reference: "DISABLED", # accepts DISABLED, ENABLED
          gop_closed_cadence: 1,
          gop_size: 1.0,
          gop_size_units: "FRAMES", # accepts FRAMES, SECONDS
          hrd_buffer_initial_fill_percentage: 1,
          hrd_buffer_size: 1,
          interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
          max_bitrate: 1,
          min_i_interval: 1,
          number_b_frames_between_reference_frames: 1,
          number_reference_frames: 1,
          par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          par_denominator: 1,
          par_numerator: 1,
          quality_tuning_level: "SINGLE_PASS", # accepts SINGLE_PASS, SINGLE_PASS_HQ, MULTI_PASS_HQ
          rate_control_mode: "VBR", # accepts VBR, CBR
          repeat_pps: "DISABLED", # accepts DISABLED, ENABLED
          scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED
          slices: 1,
          slow_pal: "DISABLED", # accepts DISABLED, ENABLED
          softness: 1,
          spatial_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          syntax: "DEFAULT", # accepts DEFAULT, RP2027
          telecine: "NONE", # accepts NONE, SOFT, HARD
          temporal_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          unregistered_sei_timecode: "DISABLED", # accepts DISABLED, ENABLED
        },
        h265_settings: {
          adaptive_quantization: "OFF", # accepts OFF, LOW, MEDIUM, HIGH, HIGHER, MAX
          alternate_transfer_function_sei: "DISABLED", # accepts DISABLED, ENABLED
          bitrate: 1,
          codec_level: "AUTO", # accepts AUTO, LEVEL_1, LEVEL_2, LEVEL_2_1, LEVEL_3, LEVEL_3_1, LEVEL_4, LEVEL_4_1, LEVEL_5, LEVEL_5_1, LEVEL_5_2, LEVEL_6, LEVEL_6_1, LEVEL_6_2
          codec_profile: "MAIN_MAIN", # accepts MAIN_MAIN, MAIN_HIGH, MAIN10_MAIN, MAIN10_HIGH, MAIN_422_8BIT_MAIN, MAIN_422_8BIT_HIGH, MAIN_422_10BIT_MAIN, MAIN_422_10BIT_HIGH
          flicker_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE
          framerate_denominator: 1,
          framerate_numerator: 1,
          gop_b_reference: "DISABLED", # accepts DISABLED, ENABLED
          gop_closed_cadence: 1,
          gop_size: 1.0,
          gop_size_units: "FRAMES", # accepts FRAMES, SECONDS
          hrd_buffer_initial_fill_percentage: 1,
          hrd_buffer_size: 1,
          interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
          max_bitrate: 1,
          min_i_interval: 1,
          number_b_frames_between_reference_frames: 1,
          number_reference_frames: 1,
          par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          par_denominator: 1,
          par_numerator: 1,
          quality_tuning_level: "SINGLE_PASS", # accepts SINGLE_PASS, SINGLE_PASS_HQ, MULTI_PASS_HQ
          rate_control_mode: "VBR", # accepts VBR, CBR
          sample_adaptive_offset_filter_mode: "DEFAULT", # accepts DEFAULT, ADAPTIVE, OFF
          scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED
          slices: 1,
          slow_pal: "DISABLED", # accepts DISABLED, ENABLED
          spatial_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          telecine: "NONE", # accepts NONE, SOFT, HARD
          temporal_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          temporal_ids: "DISABLED", # accepts DISABLED, ENABLED
          tiles: "DISABLED", # accepts DISABLED, ENABLED
          unregistered_sei_timecode: "DISABLED", # accepts DISABLED, ENABLED
        },
        mpeg_2_settings: {
          adaptive_quantization: "OFF", # accepts OFF, LOW, MEDIUM, HIGH
          bitrate: 1,
          codec_level: "AUTO", # accepts AUTO, LOW, MAIN, HIGH1440, HIGH
          codec_profile: "MAIN", # accepts MAIN, PROFILE_422
          framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE
          framerate_denominator: 1,
          framerate_numerator: 1,
          gop_closed_cadence: 1,
          gop_size: 1.0,
          gop_size_units: "FRAMES", # accepts FRAMES, SECONDS
          hrd_buffer_initial_fill_percentage: 1,
          hrd_buffer_size: 1,
          interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
          intra_dc_precision: "AUTO", # accepts AUTO, INTRA_DC_PRECISION_8, INTRA_DC_PRECISION_9, INTRA_DC_PRECISION_10, INTRA_DC_PRECISION_11
          max_bitrate: 1,
          min_i_interval: 1,
          number_b_frames_between_reference_frames: 1,
          par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          par_denominator: 1,
          par_numerator: 1,
          quality_tuning_level: "SINGLE_PASS", # accepts SINGLE_PASS, MULTI_PASS
          rate_control_mode: "VBR", # accepts VBR, CBR
          scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED
          slow_pal: "DISABLED", # accepts DISABLED, ENABLED
          softness: 1,
          spatial_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
          syntax: "DEFAULT", # accepts DEFAULT, D_10
          telecine: "NONE", # accepts NONE, SOFT, HARD
          temporal_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
        },
        prores_settings: {
          codec_profile: "APPLE_PRORES_422", # accepts APPLE_PRORES_422, APPLE_PRORES_422_HQ, APPLE_PRORES_422_LT, APPLE_PRORES_422_PROXY
          framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE
          framerate_denominator: 1,
          framerate_numerator: 1,
          interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
          par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
          par_denominator: 1,
          par_numerator: 1,
          slow_pal: "DISABLED", # accepts DISABLED, ENABLED
          telecine: "NONE", # accepts NONE, HARD
        },
      },
      color_metadata: "IGNORE", # accepts IGNORE, INSERT
      crop: {
        height: 1,
        width: 1,
        x: 1,
        y: 1,
      },
      drop_frame_timecode: "DISABLED", # accepts DISABLED, ENABLED
      fixed_afd: 1,
      height: 1,
      position: {
        height: 1,
        width: 1,
        x: 1,
        y: 1,
      },
      respond_to_afd: "NONE", # accepts NONE, RESPOND, PASSTHROUGH
      scaling_behavior: "DEFAULT", # accepts DEFAULT, STRETCH_TO_OUTPUT
      sharpness: 1,
      timecode_insertion: "DISABLED", # accepts DISABLED, PIC_TIMING_SEI
      video_preprocessors: {
        color_corrector: {
          brightness: 1,
          color_space_conversion: "NONE", # accepts NONE, FORCE_601, FORCE_709, FORCE_HDR10, FORCE_HLG_2020
          contrast: 1,
          hdr_10_metadata: {
            blue_primary_x: 1,
            blue_primary_y: 1,
            green_primary_x: 1,
            green_primary_y: 1,
            max_content_light_level: 1,
            max_frame_average_light_level: 1,
            max_luminance: 1,
            min_luminance: 1,
            red_primary_x: 1,
            red_primary_y: 1,
            white_point_x: 1,
            white_point_y: 1,
          },
          hue: 1,
          saturation: 1,
        },
        deinterlacer: {
          algorithm: "INTERPOLATE", # accepts INTERPOLATE, INTERPOLATE_TICKER, BLEND, BLEND_TICKER
          control: "FORCE_ALL_FRAMES", # accepts FORCE_ALL_FRAMES, NORMAL
          mode: "DEINTERLACE", # accepts DEINTERLACE, INVERSE_TELECINE, ADAPTIVE
        },
        image_inserter: {
          insertable_images: [
            {
              duration: 1,
              fade_in: 1,
              fade_out: 1,
              height: 1,
              image_inserter_input: "__string",
              image_x: 1,
              image_y: 1,
              layer: 1,
              opacity: 1,
              start_time: "__string",
              width: 1,
            },
          ],
        },
        noise_reducer: {
          filter: "BILATERAL", # accepts BILATERAL, MEAN, GAUSSIAN, LANCZOS, SHARPEN, CONSERVE, SPATIAL
          filter_settings: {
            strength: 1,
          },
          spatial_filter_settings: {
            post_filter_sharpen_strength: 1,
            speed: 1,
            strength: 1,
          },
        },
        timecode_burnin: {
          font_size: 1,
          position: "TOP_CENTER", # accepts TOP_CENTER, TOP_LEFT, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT
          prefix: "__string",
        },
      },
      width: 1,
    },
  },
}

Modify a preset by sending a request with the preset name and any of the following that you wish to change: description, category, and transcoding settings.

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

The new category for the preset, if you are changing it.

Returns:

  • (String)


12911
12912
12913
12914
12915
12916
12917
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 12911

class UpdatePresetRequest < Struct.new(
  :category,
  :description,
  :name,
  :settings)
  include Aws::Structure
end

#descriptionString

The new description for the preset, if you are changing it.

Returns:

  • (String)


12911
12912
12913
12914
12915
12916
12917
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 12911

class UpdatePresetRequest < Struct.new(
  :category,
  :description,
  :name,
  :settings)
  include Aws::Structure
end

#nameString

The name of the preset you are modifying.

Returns:

  • (String)


12911
12912
12913
12914
12915
12916
12917
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 12911

class UpdatePresetRequest < Struct.new(
  :category,
  :description,
  :name,
  :settings)
  include Aws::Structure
end

#settingsTypes::PresetSettings

Settings for preset



12911
12912
12913
12914
12915
12916
12917
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 12911

class UpdatePresetRequest < Struct.new(
  :category,
  :description,
  :name,
  :settings)
  include Aws::Structure
end