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

Class: Aws::MediaConvert::Types::ContainerSettings

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 ContainerSettings data as a hash:

{
  container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, 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: "__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
    free_space_box: "INCLUDE", # accepts INCLUDE, EXCLUDE
    moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
    mp_4_major_brand: "__string",
  },
}

Container specific settings.

Instance Attribute Summary collapse

Instance Attribute Details

#containerString

Container for this output. Some containers require a container settings object. If not specified, the default object will be created.

Returns:

  • (String)


2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end

#f4v_settingsTypes::F4vSettings

Settings for F4v container

Returns:



2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end

#m2ts_settingsTypes::M2tsSettings

MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.

Returns:



2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end

#m3u_8_settingsTypes::M3u8Settings

Settings for TS segments in HLS

Returns:



2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end

#mov_settingsTypes::MovSettings

Settings for MOV Container.

Returns:



2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end

#mp_4_settingsTypes::Mp4Settings

Settings for MP4 container. You can create audio-only AAC outputs with this container.

Returns:



2127
2128
2129
2130
2131
2132
2133
2134
2135
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2127

class ContainerSettings < Struct.new(
  :container,
  :f4v_settings,
  :m2ts_settings,
  :m3u_8_settings,
  :mov_settings,
  :mp_4_settings)
  include Aws::Structure
end