Interface Ac3SettingsProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Ac3SettingsProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:40.896Z") @Stability(Experimental) public interface Ac3SettingsProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for AC3 codec settings.

Example:

 // AAC stereo
 EncodeConfiguration aac = EncodeConfiguration.audio(AudioEncodeProps.builder()
         .name("aac_stereo")
         .codec(AudioCodecSettings.aac(AacSettingsProps.builder()
                 .bitrate(Bitrate.kbps(192))
                 .codingMode(AacCodingMode.CODING_MODE_2_0)
                 .build()))
         .build());
 // AC3 5.1
 EncodeConfiguration ac3 = EncodeConfiguration.audio(AudioEncodeProps.builder()
         .name("ac3_surround")
         .codec(AudioCodecSettings.ac3(Ac3SettingsProps.builder()
                 .bitrate(Bitrate.kbps(384))
                 .codingMode(Ac3CodingMode.CODING_MODE_3_2_LFE)
                 .build()))
         .build());
 
  • Method Details

    • getAttenuationControl

      @Stability(Experimental) @Nullable default Ac3AttenuationControl getAttenuationControl()
      (experimental) Applies a 3 dB attenuation to the surround channels.

      Used only for the 3/2 coding mode.

      Default: - service default

    • getBitrate

      @Stability(Experimental) @Nullable default Bitrate getBitrate()
      (experimental) The average bitrate.

      Default: - service default

    • getBitstreamMode

      @Stability(Experimental) @Nullable default Ac3BitstreamMode getBitstreamMode()
      (experimental) Specifies the bitstream mode (bsmod) for the emitted AC-3 stream.

      Default: Ac3BitstreamMode.COMPLETE_MAIN

    • getCodingMode

      @Stability(Experimental) @Nullable default Ac3CodingMode getCodingMode()
      (experimental) The Dolby Digital coding mode.

      Default: Ac3CodingMode.CODING_MODE_2_0

    • getDialNorm

      @Stability(Experimental) @Nullable default Number getDialNorm()
      (experimental) The dialogue normalization level (1–31).

      Default: - service default

    • getDrcProfile

      @Stability(Experimental) @Nullable default Ac3DrcProfile getDrcProfile()
      (experimental) If set to filmStandard, adds dynamic range compression signaling to the output bitstream.

      Default: - service default

    • getLfeFilter

      @Stability(Experimental) @Nullable default Ac3LfeFilter getLfeFilter()
      (experimental) When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding.

      Valid only in codingMode32Lfe mode.

      Default: Ac3LfeFilter.DISABLED

    • getMetadataControl

      @Stability(Experimental) @Nullable default Ac3MetadataControl getMetadataControl()
      (experimental) When set to followInput, encoder metadata is sourced from the DD, DD+, or DolbyE decoder that supplies this audio data.

      Default: - service default

    • builder

      @Stability(Experimental) static Ac3SettingsProps.Builder builder()
      Returns:
      a Ac3SettingsProps.Builder of Ac3SettingsProps