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

Class: Aws::MediaConvert::Types::PresetSettings

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PresetSettings as input to an Aws::Client method, you can use a vanilla Hash:

{
  audio_descriptions: [
    {
      audio_channel_tagging_settings: {
        channel_tag: "L", # accepts L, R, C, LFE, LS, RS, LC, RC, CS, LSD, RSD, TCS, VHL, VHC, VHR
      },
      audio_normalization_settings: {
        algorithm: "ITU_BS_1770_1", # accepts ITU_BS_1770_1, ITU_BS_1770_2, ITU_BS_1770_3, ITU_BS_1770_4
        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, MP3, WAV, AIFF, AC3, EAC3, EAC3_ATMOS, VORBIS, OPUS, PASSTHROUGH
        eac_3_atmos_settings: {
          bitrate: 1,
          bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN
          coding_mode: "CODING_MODE_9_1_6", # accepts CODING_MODE_9_1_6
          dialogue_intelligence: "ENABLED", # accepts ENABLED, DISABLED
          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
          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,
          metering_mode: "LEQ_A", # accepts LEQ_A, ITU_BS_1770_1, ITU_BS_1770_2, ITU_BS_1770_3, ITU_BS_1770_4
          sample_rate: 1,
          speech_threshold: 1,
          stereo_downmix: "NOT_INDICATED", # accepts NOT_INDICATED, STEREO, SURROUND, DPL2
          surround_ex_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED
        },
        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,
        },
        mp_3_settings: {
          bitrate: 1,
          channels: 1,
          rate_control_mode: "CBR", # accepts CBR, VBR
          sample_rate: 1,
          vbr_quality: 1,
        },
        opus_settings: {
          bitrate: 1,
          channels: 1,
          sample_rate: 1,
        },
        vorbis_settings: {
          channels: 1,
          sample_rate: 1,
          vbr_quality: 1,
        },
        wav_settings: {
          bit_depth: 1,
          channels: 1,
          format: "RIFF", # accepts RIFF, RF64
          sample_rate: 1,
        },
      },
      custom_language_code: "__stringPatternAZaZ23AZaZ",
      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: "__stringPatternWS",
    },
  ],
  caption_descriptions: [
    {
      custom_language_code: "__stringPatternAZaZ23AZaZ",
      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_script: "AUTOMATIC", # accepts AUTOMATIC, HANS, HANT
          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, EMBEDDED_PLUS_SCTE20, IMSC, SCTE20_PLUS_EMBEDDED, SCC, SRT, SMI, 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_script: "AUTOMATIC", # accepts AUTOMATIC, HANS, HANT
          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,
          subtitling_type: "HEARING_IMPAIRED", # accepts HEARING_IMPAIRED, STANDARD
          teletext_spacing: "FIXED_GRID", # accepts FIXED_GRID, PROPORTIONAL
          x_position: 1,
          y_position: 1,
        },
        embedded_destination_settings: {
          destination_608_channel_number: 1,
          destination_708_service_number: 1,
        },
        imsc_destination_settings: {
          style_passthrough: "ENABLED", # accepts ENABLED, DISABLED
        },
        scc_destination_settings: {
          framerate: "FRAMERATE_23_97", # accepts FRAMERATE_23_97, FRAMERATE_24, FRAMERATE_25, FRAMERATE_29_97_DROPFRAME, FRAMERATE_29_97_NON_DROPFRAME
        },
        teletext_destination_settings: {
          page_number: "__stringMin3Max3Pattern1809aFAF09aEAE",
          page_types: ["PAGE_TYPE_INITIAL"], # accepts PAGE_TYPE_INITIAL, PAGE_TYPE_SUBTITLE, PAGE_TYPE_ADDL_INFO, PAGE_TYPE_PROGRAM_SCHEDULE, PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE
        },
        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: {
    cmfc_settings: {
      scte_35_esam: "INSERT", # accepts INSERT, NONE
      scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
    },
    container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, MOV, MP4, MPD, MXF, WEBM, 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: "__stringMin1Max256",
        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: "__stringMin1Max256",
        service_provider_name: "__stringMin1Max256",
      },
      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
      force_ts_video_ebp_order: "FORCE", # accepts FORCE, DEFAULT
      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_esam: {
        scte_35_esam_pid: 1,
      },
      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
      ctts_version: 1,
      free_space_box: "INCLUDE", # accepts INCLUDE, EXCLUDE
      moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
      mp_4_major_brand: "__string",
    },
    mpd_settings: {
      caption_container_type: "RAW", # accepts RAW, FRAGMENTED_MP4
      scte_35_esam: "INSERT", # accepts INSERT, NONE
      scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
    },
    mxf_settings: {
      afd_signaling: "NO_COPY", # accepts NO_COPY, COPY_FROM_VIDEO
      profile: "D_10", # accepts D_10, XDCAM, OP1A
    },
  },
  video_description: {
    afd_signaling: "NONE", # accepts NONE, AUTO, FIXED
    anti_alias: "DISABLED", # accepts DISABLED, ENABLED
    codec_settings: {
      av_1_settings: {
        adaptive_quantization: "OFF", # accepts OFF, LOW, MEDIUM, HIGH, HIGHER, MAX
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        framerate_denominator: 1,
        framerate_numerator: 1,
        gop_size: 1.0,
        max_bitrate: 1,
        number_b_frames_between_reference_frames: 1,
        qvbr_settings: {
          qvbr_quality_level: 1,
          qvbr_quality_level_fine_tune: 1.0,
        },
        rate_control_mode: "QVBR", # accepts QVBR
        slices: 1,
        spatial_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
      },
      avc_intra_settings: {
        avc_intra_class: "CLASS_50", # accepts CLASS_50, CLASS_100, CLASS_200
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        framerate_denominator: 1,
        framerate_numerator: 1,
        interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
        slow_pal: "DISABLED", # accepts DISABLED, ENABLED
        telecine: "NONE", # accepts NONE, HARD
      },
      codec: "AV1", # accepts AV1, AVC_INTRA, FRAME_CAPTURE, H_264, H_265, MPEG2, PRORES, VC3, VP8, VP9
      frame_capture_settings: {
        framerate_denominator: 1,
        framerate_numerator: 1,
        max_captures: 1,
        quality: 1,
      },
      h264_settings: {
        adaptive_quantization: "OFF", # accepts OFF, AUTO, 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
        dynamic_sub_gop: "ADAPTIVE", # accepts ADAPTIVE, STATIC
        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, FRAMEFORMER
        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
        qvbr_settings: {
          max_average_bitrate: 1,
          qvbr_quality_level: 1,
          qvbr_quality_level_fine_tune: 1.0,
        },
        rate_control_mode: "VBR", # accepts VBR, CBR, QVBR
        repeat_pps: "DISABLED", # accepts DISABLED, ENABLED
        scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED, TRANSITION_DETECTION
        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
        dynamic_sub_gop: "ADAPTIVE", # accepts ADAPTIVE, STATIC
        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, FRAMEFORMER
        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
        qvbr_settings: {
          max_average_bitrate: 1,
          qvbr_quality_level: 1,
          qvbr_quality_level_fine_tune: 1.0,
        },
        rate_control_mode: "VBR", # accepts VBR, CBR, QVBR
        sample_adaptive_offset_filter_mode: "DEFAULT", # accepts DEFAULT, ADAPTIVE, OFF
        scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED, TRANSITION_DETECTION
        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
        write_mp_4_packaging_type: "HVC1", # accepts HVC1, HEV1
      },
      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
        dynamic_sub_gop: "ADAPTIVE", # accepts ADAPTIVE, STATIC
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        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, FRAMEFORMER
        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
      },
      vc_3_settings: {
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        framerate_denominator: 1,
        framerate_numerator: 1,
        interlace_mode: "INTERLACED", # accepts INTERLACED, PROGRESSIVE
        slow_pal: "DISABLED", # accepts DISABLED, ENABLED
        telecine: "NONE", # accepts NONE, HARD
        vc_3_class: "CLASS_145_8BIT", # accepts CLASS_145_8BIT, CLASS_220_8BIT, CLASS_220_10BIT
      },
      vp_8_settings: {
        bitrate: 1,
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        framerate_denominator: 1,
        framerate_numerator: 1,
        gop_size: 1.0,
        hrd_buffer_size: 1,
        max_bitrate: 1,
        par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        par_denominator: 1,
        par_numerator: 1,
        quality_tuning_level: "MULTI_PASS", # accepts MULTI_PASS, MULTI_PASS_HQ
        rate_control_mode: "VBR", # accepts VBR
      },
      vp_9_settings: {
        bitrate: 1,
        framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE, FRAMEFORMER
        framerate_denominator: 1,
        framerate_numerator: 1,
        gop_size: 1.0,
        hrd_buffer_size: 1,
        max_bitrate: 1,
        par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
        par_denominator: 1,
        par_numerator: 1,
        quality_tuning_level: "MULTI_PASS", # accepts MULTI_PASS, MULTI_PASS_HQ
        rate_control_mode: "VBR", # accepts VBR
      },
    },
    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
      },
      dolby_vision: {
        l6_metadata: {
          max_cll: 1,
          max_fall: 1,
        },
        l6_mode: "PASSTHROUGH", # accepts PASSTHROUGH, RECALCULATE, SPECIFY
        profile: "PROFILE_5", # accepts PROFILE_5
      },
      image_inserter: {
        insertable_images: [
          {
            duration: 1,
            fade_in: 1,
            fade_out: 1,
            height: 1,
            image_inserter_input: "__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA",
            image_x: 1,
            image_y: 1,
            layer: 1,
            opacity: 1,
            start_time: "__stringPattern01D20305D205D",
            width: 1,
          },
        ],
      },
      noise_reducer: {
        filter: "BILATERAL", # accepts BILATERAL, MEAN, GAUSSIAN, LANCZOS, SHARPEN, CONSERVE, SPATIAL, TEMPORAL
        filter_settings: {
          strength: 1,
        },
        spatial_filter_settings: {
          post_filter_sharpen_strength: 1,
          speed: 1,
          strength: 1,
        },
        temporal_filter_settings: {
          aggressive_mode: 1,
          post_temporal_sharpening: "DISABLED", # accepts DISABLED, ENABLED, AUTO
          speed: 1,
          strength: 1,
        },
      },
      partner_watermarking: {
        nexguard_file_marker_settings: {
          license: "__stringMin1Max100000",
          payload: 1,
          preset: "__stringMin1Max256",
          strength: "LIGHTEST", # accepts LIGHTEST, LIGHTER, DEFAULT, STRONGER, STRONGEST
        },
      },
      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: "__stringPattern",
      },
    },
    width: 1,
  },
}

Settings for preset

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#audio_descriptionsArray<Types::AudioDescription>

(AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings.

Returns:

  • (Array<Types::AudioDescription>)

    (AudioDescriptions) contains groups of audio encoding settings organized by audio codec.

#caption_descriptionsArray<Types::CaptionDescriptionPreset>

Caption settings for this preset. There can be multiple caption settings in a single output.

Returns:

#container_settingsTypes::ContainerSettings

Container specific settings.

Returns:

#video_descriptionTypes::VideoDescription

(VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.

Returns: